<?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>Removing file from vault via server Event</title><link>https://www.aras.com/community/f/integrations/55234/removing-file-from-vault-via-server-event</link><description>Hai , 
 I do have a requirement to delete unused files from vault , because it consumes memory . So I was trying to deleting files via server event which does not have any relationship . But I was not able to reach vault . Please help me to find a solution</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Removing file from vault via server Event</title><link>https://www.aras.com/community/thread/10344?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2024 17:14:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:cfe22454-1bd8-491a-b725-97ad039f721a</guid><dc:creator>Salini Sivasubramanian</dc:creator><description>&lt;p&gt;Thank you Angelalp. It was helpful . It did work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Removing file from vault via server Event</title><link>https://www.aras.com/community/thread/10333?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 14:45:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1854cb88-f22d-411e-aed1-c0ce1a491d4d</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Salini,&lt;/p&gt;
&lt;p&gt;your question is similar to this discussion:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://www.aras.com/community/f/development/3717/how-can-i-find-orphaned-files-in-the-vault/2944"&gt;RE: How can I find orphaned files in the Vault?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The thread contains a&amp;nbsp;post from Chris that shows how to discover orphaned files. You can modify his sample code to delete the orphaned files.&lt;/p&gt;
&lt;p&gt;There is not ready-to-use code sample for &amp;quot;deleting files&amp;quot; available, cause there is an unspoken rule in this forum to not share potential dangerous code that can destroy some ones data. But it&amp;acute;s not hard to modify the query. I use something similar in my data base for cleanup and it works excellent.&lt;/p&gt;
&lt;p&gt;Angela&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>