<?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>Renaming a file</title><link>https://www.aras.com/community/f/applications/3330/renaming-a-file</link><description>Hi All,

I am renaming the file name in Aras through db. Below is the query for the same. After renaming the file when i am trying to open the file file is not opening as the url is not correct and its missing the vault server link.

DECLARE @oldFilename</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Renaming a file</title><link>https://www.aras.com/community/thread/776?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 02:52:41 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:927658b4-50cc-485b-8f1f-70e68fe28d2a</guid><dc:creator>Former Member</dc:creator><description>Whenever you have plan for service that offers renaming and branding, you should check this one &lt;a href="http://eatmywords.com/services/consulting/" rel="dofollow"&gt;http://eatmywords.com/services/consulting/&lt;/a&gt;, they have best suggestions for naming everything.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Renaming a file</title><link>https://www.aras.com/community/thread/632?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 16:24:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:29274565-0831-4246-8772-534ae45f83ce</guid><dc:creator>Former Member</dc:creator><description>Hi Amit,

I am not sure whether this solution will help you out or not but you can try.

You can create a aras method which renames the file associated with one whose name you are updating and you can trigger it on the update action of the item.

Also alternatively you can create a samll script which accepts name of the file whihch you need to rename and also the new name in turn the script should rename it in database as well as in the vault.

Regards,

Maher.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Renaming a file</title><link>https://www.aras.com/community/thread/634?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 14:46:38 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:13922e2c-3d9a-43c0-a2f0-8f57e29ac94c</guid><dc:creator>Former Member</dc:creator><description>Thanks a lot!

Since i am able to rename the file in Aras 11 i thought there might be a way to rename the same in other older versions as well.

By the way i have to rename a lot more number of files so if i have to rename the files at both the location it will take a lot of time.

Please suggest if there is any other feasible way.

Thanks,

Amit&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Renaming a file</title><link>https://www.aras.com/community/thread/630?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 14:00:14 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f09abfa9-d526-451c-8b74-7f1db52490a1</guid><dc:creator>Former Member</dc:creator><description>Hi Amit,

As you know the files which you upload will be stored in the vault folder in server. Here you have changed the name of the file in the database but the physical file present in the vault folder was not changed because of the your link will not work.

&amp;nbsp;

Solution:  Locate the file which you renamed in the database from the vault then rename the name of that file to the same name as one which you gave on database. This should probably solve the issue.

&amp;nbsp;

Regards,

Maher.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>