<?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>anm31 さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/anm31</link><description>anm31 さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Discussion Starter I</title><link>https://www.aras.com/community/achievements/21025ab1-febb-4fb4-a872-d32a921cb45c</link><pubDate>Wed, 24 Jul 2024 08:07:30 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:36ec8695-3387-4620-96a6-c315867a89c1</guid><dc:creator /><description>Start a discussion in a forum that receives 5 replies.</description></item><item><title>Upload file via client method not working</title><link>https://www.aras.com/community/f/development/55271/upload-file-via-client-method-not-working</link><pubDate>Tue, 09 Jul 2024 15:06:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3c0ba8a3-8e09-46ad-9170-a27d8ea73e0a</guid><dc:creator>anm31</dc:creator><description>&lt;p&gt;Hi, I am using the client method given in the documentation to upload file in Aras :&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;pre class="ui-code" data-mode="javascript"&gt;function processAddingFile(file) {
    var newFile = aras.newItem(&amp;quot;File&amp;quot;, file);
    if (newFile) {
        aras.itemsCache.addItem(newFile);
        var res = aras.saveItemEx(newFile);
        aras.unlockItemEx(res);
    }
}
aras.vault.selectFile().then(processAddingFile.bind(this));&lt;/pre&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I attached this method to a button. When I click on the button and select the file I want to upload, I got this error :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Error: Use the asynchronous file upload method/way&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt; at Aras.Aras_applyItemWithFilesCheck [as applyItemWithFilesCheck] (include.aspx?classes&lt;span class="devtools-link-ellipsis"&gt;&amp;hellip;&lt;/span&gt;urnBlocker:28343:10) &lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt; at Aras.Aras_saveItemEx [as saveItemEx] (include.aspx?classes&lt;span class="devtools-link-ellipsis"&gt;&amp;hellip;&lt;/span&gt;urnBlocker:29949:18) &lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt; at HTMLInputElement.processAddingFile (virtualGetForm?formI&lt;span class="devtools-link-ellipsis"&gt;&amp;hellip;&lt;/span&gt;5cf&amp;amp;mode=add:669:10)&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have an idea why I am getting this error ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;Thank you!&lt;/span&gt;&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>Tue, 09 Jul 2024 15:06:55 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3c13c5dc-fba2-4e70-bde6-3b85e6a3f4b8</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>