<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/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>Replace existing documents</title><link>https://community.appian.com/discussions/f/general/37670/replace-existing-documents</link><description>Hello everyone, 
 
 I’m working with an interface grid that is prepopulated with different documents. There&amp;#39;s also an &amp;quot;Add New&amp;quot; button that allows users to upload additional documents to the grid. 
 
 Requirement: 
 
 Users should be able to upload new</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Replace existing documents</title><link>https://community.appian.com/thread/141473?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 11:46:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cab3f2e6-d339-4b99-9fba-9141ea329847</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;I have the same code as what you have. I was asking you to check the Folder security in which the original document is stored. I am guessing users would need at least editor access to the folder in which doc is stored and also editor access on the original document&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace existing documents</title><link>https://community.appian.com/thread/141461?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 06:07:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:44b4d03e-af38-46ff-b986-6c56b27b7603</guid><dc:creator>Tomislav Fuček</dc:creator><description>&lt;p&gt;Hi Kumar,&lt;/p&gt;
&lt;p&gt;may I ask you for a code snippet? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace existing documents</title><link>https://community.appian.com/thread/141442?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 21:17:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:053ef872-85eb-42a2-806d-0997427cee14</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;I just tried and worked fine for me, Only thing which you can check is if the users have edit permission to the folder inside which you have your original file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace existing documents</title><link>https://community.appian.com/thread/141412?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 11:40:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d27b2bd9-58d6-466c-b46d-ed6f516c1815</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not sure. I do not remember whether I have aver tried that. I suggest to implement a tiny simplified test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace existing documents</title><link>https://community.appian.com/thread/141410?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 10:38:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc7560b1-f377-45e4-98ba-209f0ef27901</guid><dc:creator>Tomislav Fuček</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, that would be a viable workaround, and we do have a similar document representation in the database. However, I was aiming for a more elegant solution, as it seemed from the documentation and previous discussions that we could simply replace or create a new version of the already existing files using the &lt;code&gt;a!fileUploadField&lt;/code&gt; component.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m just curious as to why this approach isn&amp;rsquo;t working as expected.&lt;/p&gt;
&lt;div class="translationcontainer___extension" style="display:none;left:-5px;top:27px;"&gt;&lt;span class="sentences___extension" data-dstlang="en"&gt;, we could&lt;/span&gt;&lt;span class="origsentences___extension" data-srclang="en"&gt;, we could&lt;/span&gt;
&lt;div class="bottom___extension"&gt;
&lt;div class="speakerimg___extension"&gt;&lt;/div&gt;
&lt;div class="detected-language___extension"&gt;Detected language : English&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replace existing documents</title><link>https://community.appian.com/thread/141409?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 10:32:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a699440d-e79c-4037-9618-f76a269384c3</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In my world, I manage all documents in a database table and just store the file itself in some folder. Then, &amp;quot;replacing&amp;quot; means to upload a new file, add a new record to the table while maintaining relevant relations, and then delete both, the old record and the old file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>