<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Zachary さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/zachary</link><description>Zachary さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Get beforeupdate Relationships value from parent item</title><link>https://www.aras.com/community/f/development/6344/get-beforeupdate-relationships-value-from-parent-item</link><pubDate>Thu, 19 Sep 2019 05:46:46 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:58c47cbe-21d5-4042-9468-1e594a4f1b8d</guid><dc:creator>Zachary</dc:creator><description>&lt;p&gt;there is a item name -Part&lt;/p&gt;
&lt;p&gt;and it has relation -Part_relation&lt;/p&gt;
&lt;p&gt;there are a date field and name field in&amp;nbsp;&lt;span&gt;Part_relation&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;when user update , I want to check the field&amp;#39;value Cannot be earlier than Today&lt;/p&gt;
&lt;p&gt;When encountering an error, I will return inn.newError(name + date+&amp;quot;&amp;nbsp; error&amp;quot;)&lt;/p&gt;
&lt;p&gt;it is my question&lt;/p&gt;
&lt;p&gt;When encountering multiple errors, how can I get&amp;nbsp;&lt;span&gt;Part_relation &amp;#39;s information (on the view) show on&amp;nbsp;Error message&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in&amp;nbsp;Part&amp;#39;s beforeUpdate event?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think &amp;quot;this.getRelationships();&amp;quot; works, but I failed after testing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;----------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;string log =&amp;quot;&amp;quot;;&lt;br /&gt;Innovator inn = this.getInnovator();&lt;br /&gt;&lt;br /&gt;Item rootitem = inn.getItemById(this.getType(), this.getID());&lt;/p&gt;
&lt;p&gt;//on the view&amp;#39;s all relationship&lt;br /&gt;Item thisrela = this.getRelationships();&lt;/p&gt;
&lt;p&gt;string today = DateTime.Now.ToString(&amp;quot;yyyy/MM/dd&amp;quot;);&lt;br /&gt;DateTime nowdate = Convert.ToDateTime(today);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;for(int a=0 ; a&amp;lt;thisrela.getItemCount(); a++){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Item tR = thisrela.getItemByIndex(a);----&amp;gt; it can&amp;#39;t run&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//on view&amp;#39;s date&lt;br /&gt;　　string updateday = Convert.ToDateTime(tR.getProperty(&amp;quot;ts_complete_date&amp;quot;)).ToString(&amp;quot;yyyy/MM/dd&amp;quot;);&lt;br /&gt;&lt;br /&gt;　　DateTime update = Convert.ToDateTime(updateday); &lt;br /&gt;　　if(DateTime.Compare(nowdate,update)&amp;gt;0){&lt;br /&gt;　　　log += &amp;quot;tR.getProperty(&amp;quot;name&amp;quot;)+&lt;span&gt;update+&amp;quot;&amp;nbsp;Error&lt;/span&gt;.&amp;quot;;&lt;br /&gt;　　}&amp;nbsp;&amp;nbsp;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;if(log!=&amp;quot;&amp;quot;){&lt;br /&gt;&amp;nbsp; &amp;nbsp; return inn.newError(log); &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Discussion Starter I</title><link>https://www.aras.com/community/achievements/21025ab1-febb-4fb4-a872-d32a921cb45c</link><pubDate>Fri, 31 Jul 2020 15:13:20 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:fc2a790e-16bb-40f0-8212-cc369d86304b</guid><dc:creator /><description>Start a discussion in a forum that receives 5 replies.</description></item><item><title>Try to add dynamic value into drop down list</title><link>https://www.aras.com/community/f/development/5842/try-to-add-dynamic-value-into-drop-down-list</link><pubDate>Thu, 07 Mar 2019 04:49:57 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f05b5f29-4d3e-4df6-8f96-8845046ac868</guid><dc:creator>Former Member</dc:creator><description>&lt;p&gt;Hello friends ,&lt;/p&gt;
&lt;p&gt;I am try to add dynamic value in drop down list but get below error message&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1551933498251v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Please help me, my javascript code is below, code is triger on form populated event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;var startDate=0,finishdate=0;&lt;br /&gt;function pad(x) {&lt;br /&gt; return (x &amp;lt; 10) ? &amp;quot;0&amp;quot; + x : &amp;quot;&amp;quot; + x;&lt;br /&gt; }&lt;br /&gt;function DateFormate(dateFormate) {&lt;br /&gt; var myDate = new Date(dateFormate);&lt;br /&gt; var dateString = myDate.getFullYear()+ &amp;quot;-&amp;quot;;&lt;br /&gt; startDate=myDate.getFullYear();&lt;br /&gt; dateString += pad(myDate.getMonth() + 1) + &amp;quot;-&amp;quot;;&lt;br /&gt; dateString += pad(myDate.getDate());&lt;br /&gt; &lt;br /&gt; return dateString;&lt;br /&gt; }&lt;br /&gt;function DateFormate1(dateFormate) {&lt;br /&gt; var myDate = new Date(dateFormate);&lt;br /&gt; var dateString = myDate.getFullYear()+ &amp;quot;-&amp;quot;;&lt;br /&gt; finishdate=myDate.getFullYear();&lt;br /&gt; dateString += pad(myDate.getMonth() + 1) + &amp;quot;-&amp;quot;;&lt;br /&gt; dateString += pad(myDate.getDate());&lt;br /&gt; &lt;br /&gt; return dateString;&lt;br /&gt; }&lt;br /&gt;var inn=new Innovator();&lt;br /&gt;var Project=inn.newItem();&lt;br /&gt;Project.loadAML(&amp;quot;&amp;lt;Item type=&amp;#39;project&amp;#39; select=&amp;#39;id,project_number,date_start_target,date_due_target&amp;#39; action=&amp;#39;get&amp;#39;&amp;gt;&amp;quot;+&lt;br /&gt;&amp;quot;&amp;lt;project_number condition=&amp;#39;eq&amp;#39;&amp;gt;&amp;quot;+document.thisItem.getProperty(&amp;quot;project_number&amp;quot;)+&amp;quot;&amp;lt;/project_number&amp;gt;&amp;quot;+&lt;br /&gt;&amp;quot;&amp;lt;/Item&amp;gt;&amp;quot;&lt;br /&gt;)&lt;br /&gt;var projectR=Project.apply();&lt;br /&gt;DateFormate(projectR.getProperty(&amp;quot;date_start_target&amp;quot;));&lt;br /&gt;DateFormate1(projectR.getProperty(&amp;quot;date_due_target&amp;quot;));&lt;br /&gt;var difBetweenstartandfin=parseFloat(finishdate)-parseFloat(startDate)&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#008000;"&gt;/&lt;span style="color:#00ff00;"&gt;/var selectObj = document.all.from_year;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#008000;color:#00ff00;"&gt;//var selectObj =getFieldByName(&amp;quot;from_year&amp;quot;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;I tried one line statement of code from both marked line,but get every time same error message.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;var opt = document.createElement(&amp;quot;OPTION&amp;quot;);&lt;br /&gt;//alert(opt)&lt;br /&gt;&lt;span style="background-color:#00ff00;"&gt;selectObj.options.add(opt); // Error is coming on this point.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#00ff00;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;//selectObj.add(opt)&lt;br /&gt;for(var i=0;i&amp;lt;=difBetweenstartandfin;i++)&lt;br /&gt;{&lt;br /&gt; startDate=startDate+i;&lt;br /&gt; //alert(startDate)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;opt.innerText = startDate;&lt;br /&gt;opt.value = startDate;&lt;br /&gt; &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank in advance ,&lt;/p&gt;
&lt;p&gt;Ashok Kumar Yadav&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How can I export PDF from Aras? And add a function when I click relation line</title><link>https://www.aras.com/community/f/applications/6208/how-can-i-export-pdf-from-aras-and-add-a-function-when-i-click-relation-line</link><pubDate>Mon, 12 Aug 2019 08:16:58 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a1768f8e-aa24-4d53-b1c3-1da91d9983ae</guid><dc:creator>Zachary</dc:creator><description>&lt;p&gt;Hi everyone&lt;/p&gt;
&lt;p&gt;I am new here ,&amp;nbsp; I write a client method to sent value to server method to create a excel for user to download,&lt;/p&gt;
&lt;p&gt;and now my boss says the file need to be PDF&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the only way I can find is using &amp;quot;Microsoft.Office.Interop.Excel.dll&amp;quot; ,&lt;/p&gt;
&lt;p&gt;but it fail on aras , I had try many times &lt;span class="emoticon" data-url="https://www.aras.com/community/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;how can I do? &lt;span&gt;Is there any other way to export PDF ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And&amp;nbsp; When I right-click on relation&amp;#39;s line it shows&amp;nbsp; view / copy / lock , how can I add a new function at here?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks !!!!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BTW my&amp;nbsp;&lt;/span&gt;&lt;span lang="en"&gt;version is&amp;nbsp;11SP9&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to Set RelationShip  field  value result as onFormPopulated ?</title><link>https://www.aras.com/community/f/development/9575/how-to-set-relationship-field-value-result-as-onformpopulated</link><pubDate>Tue, 21 Apr 2020 08:32:01 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:046d9c7f-2abb-4458-b623-38d52ee00dcc</guid><dc:creator>Zachary</dc:creator><description>&lt;p&gt;I have a itemtype call &amp;#39;Part&amp;#39; ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Part has a field call &amp;#39;part price&amp;#39;&amp;nbsp; (type is decimal)&lt;/p&gt;
&lt;p&gt;Part has a relationship call Part_detail&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Part_detail has a field call &amp;#39;RP price&amp;#39; (type is int).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I need &amp;quot;part price&amp;quot; to have thousand separator, but it is only for displayed, and does not need to be in the database after save&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so I use&amp;nbsp;onFormPopulated event to set&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;code as :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;document.getElementsByClassName(&amp;#39;part_price&amp;#39;)[0].value =&amp;nbsp;&lt;/span&gt;&lt;span lang="en"&gt;original&lt;/span&gt;Value&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;replace&lt;/span&gt;&lt;span class="pun"&gt;(&amp;nbsp;&lt;/span&gt;&lt;span class="pln"&gt;RegExp&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="str"&gt;&amp;#39;$1,&lt;/span&gt;&lt;span class="str"&gt;&amp;#39;$2&amp;#39;&lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="pun"&gt;It is work !&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="pun"&gt;but I need &amp;quot;&lt;span&gt;RP price&lt;/span&gt;&amp;quot;&amp;nbsp;&lt;span&gt;to have&amp;nbsp; thousand separator ,too !&amp;nbsp; It is relationship&amp;nbsp; and has no&amp;nbsp;onFormPopulated&amp;nbsp;event to code&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="tw-data-text tw-text-large tw-ta" id="tw-target-text" dir="ltr"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;" lang="en"&gt;What should I do to have the same effect as &amp;quot;&lt;span&gt;part price&lt;/span&gt;&amp;quot; (&lt;span&gt;thousand separator just for show , not need to save in database&amp;nbsp;&lt;/span&gt;)?&lt;br /&gt;&lt;br /&gt;and where I can edit &lt;span&gt;relationship&amp;nbsp;DOM ?&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>is that possible to add a field At the bottom of the search table?</title><link>https://www.aras.com/community/f/development/6759/is-that-possible-to-add-a-field-at-the-bottom-of-the-search-table</link><pubDate>Fri, 27 Dec 2019 09:17:29 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:626fc3c9-eedd-4dfd-b390-22b1b1771253</guid><dc:creator>Zachary</dc:creator><description>&lt;p&gt;I have a itemtype named &amp;#39;part&amp;#39;&lt;/p&gt;
&lt;p&gt;and it has a property named &amp;#39;weight&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre class="tw-data-text tw-text-large tw-ta" dir="ltr"&gt;&lt;span lang="en"&gt;I want to see the total weight of &lt;span&gt;part&lt;br /&gt;so is that possible add a field At the bottom of the search table ?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="tw-data-text tw-text-large tw-ta" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;Here is an example I imagine :&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="tw-data-text tw-text-large tw-ta" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/_F764D653_.JPG" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>HOW to set dafault value on date field (date property) when I add a itemtype?</title><link>https://www.aras.com/community/f/development/6682/how-to-set-dafault-value-on-date-field-date-property-when-i-add-a-itemtype</link><pubDate>Wed, 18 Dec 2019 06:22:18 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:572bc0e5-e603-44bb-ae7e-7231d3281353</guid><dc:creator>Zachary</dc:creator><description>&lt;p&gt;HOW to set dafault value on date field (date property) when I add a itemtype?&lt;/p&gt;
&lt;p&gt;ex. 2019/12/26&lt;/p&gt;
&lt;p&gt;so user into the itemtype can see the field is &amp;#39;2019/12/16&amp;#39;&lt;/p&gt;
&lt;p&gt;(he can change it , not readonly)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>HOW do i pass user&amp;#39;s id or name to html?</title><link>https://www.aras.com/community/f/development/6510/how-do-i-pass-user-s-id-or-name-to-html</link><pubDate>Tue, 29 Oct 2019 04:14:49 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8816deb0-8af6-4149-b040-2c3b049aded5</guid><dc:creator>Zachary</dc:creator><description>&lt;p&gt;1. I want to let user can watch their KPI&lt;/p&gt;
&lt;p&gt;some boss user can watch eveyone&amp;#39;s KPI&lt;/p&gt;
&lt;p&gt;some empoyee user can only watch them self&amp;#39;s KPI&lt;/p&gt;
&lt;p&gt;so I need pass user&amp;#39;s name or id to the KPI web&lt;/p&gt;
&lt;p&gt;How can I do?&lt;/p&gt;
&lt;p&gt;And&lt;/p&gt;
&lt;p&gt;2. Item&amp;#39;s TOC View -&amp;gt; Parameters&lt;/p&gt;
&lt;p&gt;How to use that field?&lt;/p&gt;
&lt;p&gt;ex.&lt;/p&gt;
&lt;p&gt;TOC View -&amp;gt; Form[...]&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I set &amp;quot;KPI.html&amp;quot;&lt;/p&gt;
&lt;p&gt;and don&amp;#39;t know next step...&lt;/p&gt;
&lt;p&gt;&lt;img alt="HOW to use that Field?" height="468" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/Q.JPG" width="540" /&gt;&lt;/p&gt;
&lt;p&gt;If you can help me solve it, I will be very grateful!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>how to Not allow User to change password ?</title><link>https://www.aras.com/community/f/development/6492/how-to-not-allow-user-to-change-password</link><pubDate>Thu, 24 Oct 2019 03:44:29 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:04f7c7d1-3522-495e-b728-ac685917b0d9</guid><dc:creator>Zachary</dc:creator><description>&lt;p&gt;How can IT set that Not allow User to change password on aras tool bar?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>add acion on relaionship right-click menu</title><link>https://www.aras.com/community/f/development/6234/add-acion-on-relaionship-right-click-menu</link><pubDate>Thu, 22 Aug 2019 08:20:24 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c6deb6fb-bede-495f-8814-6b739a5b8100</guid><dc:creator>Zachary</dc:creator><description>&lt;p&gt;how I add an action on the relaionship, when user right-click on the relaionship line can see it,and can click it to run ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://www.aras.com/community/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Thu, 22 Aug 2019 08:20:25 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:2f2d9be5-057c-4935-a34f-ceaf822155f0</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>