<?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>How do I create a &amp;quot;Method&amp;quot; to update an &amp;quot;Extended Classification&amp;quot; property?</title><link>https://www.aras.com/community/f/development/9379/how-do-i-create-a-method-to-update-an-extended-classification-property</link><description>I created an &amp;quot;Action&amp;quot; which has a method that reads: 
 this.setAction(&amp;quot;edit&amp;quot;); this.setProperty(&amp;quot;xp-monthly&amp;quot;,&amp;quot;1&amp;quot;); this.apply(); return this; 
 Does anyone know how to modify an &amp;quot;Extended Property&amp;quot;?</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How do I create a "Method" to update an "Extended Classification" property?</title><link>https://www.aras.com/community/thread/4658?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 19:22:48 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d8701659-e125-4620-9642-d533cdad8f4e</guid><dc:creator>ddidonato</dc:creator><description>&lt;p&gt;We added the extended classifications to our PART itemtype after we had already established thousands of records for parts. If I add a new part and select the extended class, then run method it will work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I create a "Method" to update an "Extended Classification" property?</title><link>https://www.aras.com/community/thread/4657?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 19:17:42 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1852166f-3e80-41da-944c-a046fa93b7b6</guid><dc:creator>ddidonato</dc:creator><description>&lt;p&gt;I get the following error:&lt;/p&gt;
&lt;p&gt;&lt;span class="aras-dialog-alert__text-container"&gt;&lt;span class="aras-dialog-alert__text"&gt;You tried to perform &amp;quot;update&amp;quot; operation against not defined Extended Properties: &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I create a "Method" to update an "Extended Classification" property?</title><link>https://www.aras.com/community/thread/4656?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 18:35:50 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:65ac5de1-ce9c-48a4-9619-f60eb24c0ea8</guid><dc:creator>Skyler Crossman</dc:creator><description>&lt;p&gt;Ddidonato,&lt;/p&gt;
&lt;p&gt;Ah, I believe you might need to add a line.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;this.setAction(&amp;quot;edit&amp;quot;);&lt;/span&gt;&lt;br /&gt;&lt;span&gt;this.setProperty(&amp;quot;xp-monthly&amp;quot;,&amp;quot;1&amp;quot;);&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;this.setPropertyAttribute(&amp;quot;xp-monthly&amp;quot;,&amp;quot;set&amp;quot;,&amp;quot;value&amp;quot;);&lt;/strong&gt;&lt;br /&gt;this.apply();&lt;br /&gt;return this;&lt;/p&gt;
&lt;p&gt;The SetPropertyAttribute function is used to create the property tag in the event that one doesn&amp;#39;t already exist; given xProperties unusual relationship with items, this can be needed to properly function. Let me know if that helps.&lt;/p&gt;
&lt;p&gt;Skyler C.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I create a "Method" to update an "Extended Classification" property?</title><link>https://www.aras.com/community/thread/4651?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 20:35:07 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d90983d7-87f4-4b5a-b495-7c1a8780530e</guid><dc:creator>ddidonato</dc:creator><description>&lt;p&gt;Skyler,&lt;/p&gt;
&lt;p&gt;The action is configuration is fine. It doesn&amp;#39;t work with the &amp;quot;extended classification&amp;quot; property. If I add (this.setProperty(&amp;quot;name&amp;quot;,&amp;quot;test&amp;quot;);) to the method, the name changes to &amp;quot;test&amp;#39;, but the extended property still doesn&amp;#39;t change. I get no error messages. I&amp;#39;m not sure if extended classifications are handled different.&amp;nbsp; TY&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I create a "Method" to update an "Extended Classification" property?</title><link>https://www.aras.com/community/thread/4646?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 15:03:24 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:807acf73-daf9-457a-9744-7b2afcd96182</guid><dc:creator>Skyler Crossman</dc:creator><description>&lt;p&gt;Ddidonato,&lt;/p&gt;
&lt;p&gt;Your method code looks like it&amp;#39;s on the right track. What issue are you having? You haven&amp;#39;t mentioned how your action is configured, so if you aren&amp;#39;t seeing the action in your ui I would go to an ItemType you want to be able to use this with and add your new action to the list of Actions for the itemtype. (Actions relationship tab, select button, then&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for the new action by name.) If you&amp;#39;ve gone that far, you should at least get an error with a bit more information.&lt;/p&gt;
&lt;p&gt;Skyler C.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>