<?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>What causes the command bar buttons &amp;#39;Save&amp;#39; and &amp;#39;Done&amp;#39; to be greyed out?</title><link>https://www.aras.com/community/f/development/55407/what-causes-the-command-bar-buttons-save-and-done-to-be-greyed-out</link><description>As in this above screenshot, this occurs after I run aras.setItemProperty() for a value that exists in the form. Afterwards, it becomes as such. What attribute can I reset to have it not be like this any more? Clicking the refresh button works as a solution</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: What causes the command bar buttons 'Save' and 'Done' to be greyed out?</title><link>https://www.aras.com/community/thread/10832?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 17:46:29 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:24840df6-5180-45b7-a614-eb4ce675a62b</guid><dc:creator>Frank Guarino</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your previous answer here&amp;nbsp;&amp;nbsp;&lt;a href="https://www.aras.com/community/f/development/37680/refresh-a-form"&gt;Refresh a form.&lt;/a&gt;&amp;nbsp; helped me!&lt;/p&gt;
&lt;p&gt;Used:&lt;/p&gt;
&lt;p&gt;this.setProperty(&amp;quot;propName&amp;quot;, &amp;quot;valueIwanted&amp;quot;);&lt;/p&gt;
&lt;p&gt;aras.uiReShowItem(sameId, sameId, &amp;quot;view&amp;quot;, &amp;quot;openFile&amp;quot;) // last two probably aren&amp;#39;t necessary&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What causes the command bar buttons 'Save' and 'Done' to be greyed out?</title><link>https://www.aras.com/community/thread/10830?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 17:03:50 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:984ba4a3-e191-4be4-9510-d0a0c26e43e6</guid><dc:creator>Frank Guarino</dc:creator><description>&lt;p&gt;The goal is to update the form without the user needing to do anything - .apply() only half works since it updates the DB but the form will stay the same until they know to click the refresh&lt;/p&gt;
&lt;p&gt;Its running in CUI button press (from within&amp;nbsp;a main form&amp;#39;s ellipsis), so window.handleItemChange, a method which I can&amp;#39;t find in the code tree, appears not to be available?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What causes the command bar buttons 'Save' and 'Done' to be greyed out?</title><link>https://www.aras.com/community/thread/10819?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 09:39:09 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1de2896c-a343-4d97-9e0c-1dce3563dcc1</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;It&amp;acute;s possible to create invalid button behavior by doing certain things in a way Innovator didn&amp;acute;t expect to happen. This one depends a bit on the Innovator version.&lt;/p&gt;
&lt;p&gt;Your variant looks like you are doing an edit but never claimed the item or you somehow created a good old dirty item.&lt;/p&gt;
&lt;p&gt;What do you want to do in the first place? Just change a certain property in the Form? In this case, classic window.handleItemChange is still the way to go. It cares for DOM and Form update all at once.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>