<?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>Delete all documents from a particular document folder</title><link>https://community.appian.com/discussions/f/general/25849/delete-all-documents-from-a-particular-document-folder</link><description>Hi, 
 My requirement is to click on a link that re-directs me to a UI, but before that I want to delete all existing documents from a document folder. Is there any way by which I can delete all the documents from a document folder in a go. I know we have</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/134892?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 18:28:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98ea7a88-6666-424f-9265-c942cdb46679</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;this one IS doable without the plug-in, but it adds several tedious steps (seriously, i&amp;#39;m not sure what your project leadership has against plug-ins, it&amp;#39;s pretty silly...)&lt;br /&gt;&lt;em&gt;(BTW this is a pretty old thread at this point.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;1) in one node, get all document contents of a folder, storing the IDs into an array PV&lt;br /&gt;2) call the &amp;quot;delete document&amp;quot; (OOB) node in MNI, only if there are one or more results from step 1, iterating over each item in the array&lt;br /&gt;3) if there are any sub-folders (and we want to clear them out as well), the same procedure needs to be run recursively over them&lt;br /&gt;4) if desired, the now-emptied folders now need to be deleted too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/134883?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 17:47:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f930f3e-d4fa-4b48-afc2-42a915b804b4</guid><dc:creator>nickk1385</dc:creator><description>&lt;p&gt;Hi Deepak, do you know if there is another method that doesn&amp;#39;t use this plugin? I&amp;#39;m working on a story now that wants us to remove all references to that plugin and wasn&amp;#39;t sure what would be best to put in that Process Model&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/131192?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 07:20:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5ee4a1e1-e7db-4e3e-922d-74b1c5f61c36</guid><dc:creator>abdurrahim95</dc:creator><description>&lt;p&gt;I used 1st option to delete the contents and it worked. Sharing the screenshot for others reference.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1710400773982v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/108884?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 14:21:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c1aed47-0356-4440-b7b7-183bb1d26ab8</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;It&amp;#39;s because you are using different smart service, the one which deletes documents in a folder is &amp;quot;Delete Folder Contents&amp;quot;.&amp;nbsp; The one you are using is &amp;quot;Delete Folder&amp;quot;, which deletes an emptied folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/108882?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 13:32:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:efa47bc4-1c7c-4ad6-99d9-1a8a9017df1b</guid><dc:creator>jjzemmouri</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I&amp;#39;d like to know if it really works, because I get this error while I try :&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1678109564492v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jean-Jacques&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/101073?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 09:58:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:df1be68d-d475-4813-8833-b0741435115d</guid><dc:creator>Saahil Mulla</dc:creator><description>&lt;p&gt;yes &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/101072?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 09:57:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67959f9f-5a3d-42ff-9692-81560af0e5ee</guid><dc:creator>deepakg271869</dc:creator><description>&lt;p&gt;able to achieve?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/101071?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 09:56:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3f724f5b-bf85-496c-b591-35a46dd5071e</guid><dc:creator>Saahil Mulla</dc:creator><description>&lt;p&gt;thank you &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/101070?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 09:55:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e7e4732-ac67-4ec1-baf1-f3c8e2b5a951</guid><dc:creator>deepakg271869</dc:creator><description>&lt;p&gt;it is a dropdown. Select value from the dropdown list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/101064?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 08:58:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:64aef6b1-c2ba-415b-9525-b4537c52f18c</guid><dc:creator>Saahil Mulla</dc:creator><description>&lt;p&gt;Delete Type is an int value, I need to delete all documents available in that folder so what should be its value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/101063?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 08:47:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4fe6b7b9-7ab9-4670-815f-6f27d7cdf3dc</guid><dc:creator>deepakg271869</dc:creator><description>&lt;p&gt;You have to provide folder id by using tofolder({folderId}) or you can select the folder from the 3 lines next to the configuration. Delete type is like what document you have to delete. Either from the current folder only or from the child folders as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/101061?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 08:10:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26641159-6607-47c7-9bdb-786ea7a62897</guid><dc:creator>Saahil Mulla</dc:creator><description>&lt;p&gt;Thanks Deepak, since I am new to this smart service and can&amp;#39;t find details in doc, can u explain about its inputs(Folder, Delete Type) and outputs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all documents from a particular document folder</title><link>https://community.appian.com/thread/101054?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 07:17:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f03a29dd-9020-4bef-a97e-c6771f599f69</guid><dc:creator>deepakg271869</dc:creator><description>&lt;p&gt;Hi, You can use &lt;strong&gt;delete folder content smart service&lt;/strong&gt; to&amp;nbsp;delete the documents from the folder. It will clear everything from the folder so please make sure to use the folder for documents only.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>