<?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 to update file attached to Document without remove old file and re-add ?</title><link>https://www.aras.com/community/f/development/9068/how-to-update-file-attached-to-document-without-remove-old-file-and-re-add</link><description>Hi everybody, please support me for this situation, 
 In my case, 
 1. I created new Document and attached a text file (Document generation = 1) 
 2. When I update Document, If file is attached have file name is same with old file in Aras server -&amp;gt; My</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to update file attached to Document without remove old file and re-add ?</title><link>https://www.aras.com/community/thread/6426?ContentTypeID=1</link><pubDate>Thu, 11 Mar 2021 10:28:14 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d8ba1cfd-bd46-49e7-8153-da999d45e8bc</guid><dc:creator>Jenli</dc:creator><description>&lt;p&gt;Hi Anhht,&lt;/p&gt;
&lt;p&gt;I am working on the same functionality as you did, could you please share your code with me? My code has something odd issue. Thank you very much.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best,Jen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update file attached to Document without remove old file and re-add ?</title><link>https://www.aras.com/community/thread/4353?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 02:56:58 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9c408e31-bdf5-48b3-9794-ae347bcea3c4</guid><dc:creator>anhht-hue</dc:creator><description>&lt;p&gt;Thanks so much Chris. It works ^^&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update file attached to Document without remove old file and re-add ?</title><link>https://www.aras.com/community/thread/4347?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 15:24:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:137d7902-6933-468b-b619-c304cf73bd46</guid><dc:creator>Christopher Gillis</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The simplest solution to this would be to use the&amp;nbsp;&lt;em&gt;version=&amp;quot;0&amp;quot;&lt;/em&gt; attribute on your Document in the query you run in step 2. This will prevent the Document from being versioned when you delete the file with the same name. You can also check out &lt;a href="/b/english/posts/advanced-aml-topics"&gt;this blog post&lt;/a&gt; for some other handy attributes you can use in AML queries.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Christopher Gillis&lt;/p&gt;
&lt;p&gt;Aras Labs Software Engineer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>