<?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>Without editing item getting unsaved changes warning</title><link>https://www.aras.com/community/f/development/38184/without-editing-item-getting-unsaved-changes-warning</link><description>Hello, 
 When I open an item of the Custom item type from the search grid and attempt to close it without editing the item, Aras displays an unsaved changes warning. On that custom item, a file is attached as a relationship. We create a file using the</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Without editing item getting unsaved changes warning</title><link>https://www.aras.com/community/thread/9970?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2023 12:47:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7f362d84-d2ee-453c-998f-6dfb8830bd37</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Don&amp;acute;t use&amp;nbsp;&lt;span&gt;top.aras.saveItemEx but&amp;nbsp;aras.saveItemEx! As mentioned before, don&amp;acute;t use the top references anymore if you don&amp;acute;t use Innovator 10. Aras it self try to remove them whenever possible.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But I think in your case saveItemEx is maybe not the best solution. I typically use this one, when the item is already in edit mode. It&amp;acute;s a perfect function to edit something, while the user is editing anyway.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to use it for some kind of &amp;quot;background&amp;quot; edit action, you will need to unlock manually.&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;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you checked the linked filepicker post? Ignore the title of the thread. But the whole post contains a couple of variants for file upload for Innovator 11/12 and 14. Scroll down and look at the sample code from Gopi and Chris.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Without editing item getting unsaved changes warning</title><link>https://www.aras.com/community/thread/9969?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2023 09:12:02 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d59661cf-6d36-4c22-bfed-48489a22e605</guid><dc:creator>Suhas</dc:creator><description>&lt;p&gt;Hello &lt;a href="/community/members/angela"&gt;AngelaIp&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your quick reply. Instead of &lt;span&gt;applyItemWithFilesCheck API now I&amp;#39;m using &lt;span class="ui-provider ed bfe bbw bff bfg bfh bfi bfj bfk bfl bfm bfn bfo bfp bfq bfr bfs bft bfu bfv bfw bfx bfy bfz bga bgb bgc bgd bge bgf bgg bgh bgi bgj bgk" dir="ltr"&gt;top.aras.saveItemEx API in javascript &amp;amp; now it is working fine&lt;/span&gt;. But for saveItemEx&amp;nbsp; API again I need to call UnlockItem API. is there any alternate for&amp;nbsp;saveItemEx to avoid to call UnlockItem api?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Suhas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Without editing item getting unsaved changes warning</title><link>https://www.aras.com/community/thread/9968?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2023 15:41:59 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f33ac7fb-5431-4dff-8129-1f046bfc3760</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Suhas,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which Innovator version do you use? Innovator 12 or 14? Your code looks like Innovator 10, which maybe can cause the issue you see :)&lt;/p&gt;
&lt;p&gt;1. Remove the top references!&amp;nbsp;&lt;br /&gt;2. Where did you find&amp;nbsp;&lt;span&gt;applyItemWithFilesCheck? It&amp;acute;s in the code tree yes, but I never have seen code that use the function itself directly.&lt;br /&gt;3. Which event triggers the upload of the file?&lt;/span&gt;&lt;span&gt;&lt;br /&gt;4.&amp;nbsp;&amp;nbsp;&lt;a href="https://www.aras.com/community/f/development/6621/how-to-add-restrictions-to-aras-vault-selectfile-file-picker"&gt;How to add restrictions to aras.vault.selectFile() file picker&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Angela&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>