<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Change property value on client side</title><link>https://www.aras.com/community/f/development/3499/change-property-value-on-client-side</link><description>Hello,

Im trying to change the value of a property in a Javascript method, but the changes dont apply, i tried :

 var inn = aras.IomInnovator;
var&amp;#160;item = inn.getItemById(&amp;quot;ITEM_TYPE&amp;quot;, &amp;quot;9A78BB7E5EC340018DE26D604CB92041&amp;quot;);
item.lockItem();
item.setProperty</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Change property value on client side</title><link>https://www.aras.com/community/thread/1506?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 13:13:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8e5bb391-a688-4a65-91ff-296a09868b77</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

The issue that you&amp;#39;re experiencing seems to be different than the one Leo initially reported.

Could you please create a new forum post for the issue that you&amp;#39;re seeing?

Chris

&lt;hr /&gt;

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change property value on client side</title><link>https://www.aras.com/community/thread/1507?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 12:55:31 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:b37fa8d5-b2ee-4fea-a42f-f265074289d3</guid><dc:creator>sameerbaji</dc:creator><description>Hi Chris,

I have Similar issue while updating Property. I want to update &amp;quot;owned_by_id&amp;quot; for nearly 200 Parts i am using below AML and it showing me success. But changes are not reflecting. Can you help me in this. my input file contains Part id and user identity name.

&amp;lt;BatchLoaderPrototype&amp;gt;
&amp;lt;Item type=&amp;quot;Part&amp;quot; action=&amp;quot;edit&amp;quot; version=&amp;quot;0&amp;quot; where=&amp;quot;item_number=&amp;#39;@1&amp;#39;&amp;quot;&amp;gt;
&amp;lt;item_number set=&amp;quot;value&amp;quot;&amp;gt;@1&amp;lt;/item_number&amp;gt;
&amp;lt;owned_by_id set=&amp;quot;value&amp;quot;&amp;gt;@2&amp;lt;/owned_by_id&amp;gt;
&amp;lt;/Item&amp;gt;
&amp;lt;/BatchLoaderPrototype&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change property value on client side</title><link>https://www.aras.com/community/thread/1109?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 16:45:14 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f055041d-9d9d-426e-b716-6fa35c0b0d4c</guid><dc:creator>Christopher Gillis</dc:creator><description>Hi Leo,

It looks like you&amp;#39;re never specifying that an &amp;quot;edit&amp;quot; action should be applied to the item you are creating. Try updating using something like the sample below instead.

&lt;pre&gt;&lt;code&gt;var inn = aras.IomInnovator;
var item = inn.newItem(&amp;quot;ITEM_TYPE&amp;quot;, &amp;quot;edit&amp;quot;);
item.setID(&amp;quot;9A78BB7E5EC340018DE26D604CB92041&amp;quot;);
item.setProperty(&amp;quot;my_property&amp;quot;, &amp;quot;New Value&amp;quot;);
item.apply();&lt;/code&gt;&lt;/pre&gt;


Chris

________________________________________

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>