Vault General

Reply
Active Contributor
Bidu6
Posts: 38
Registered: ‎10-15-2012
Message 1 of 13 (757 Views)
Accepted Solution

Moving Files to Different Folders in Vault (BULK)

757 Views, 12 Replies
10-22-2012 01:22 PM

Hello,

 

I have to move a ton of drawings in Vault over to their new respective folders. RIght now they are organized by manufacturer, but have an associated property labelled 'facility number'. The facility number folders and subfolders exist, I just need to now move the manufacturer files into the facility number folders according to that facility number property. There are thousands of these drawings and to "quick change" and move these files individually will take me forever. 

 

I'm sure there isn't a solution, but thought I'd quickly ask and check just in case. 

Employee
olearya
Posts: 650
Registered: ‎08-14-2008
Message 2 of 13 (728 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-23-2012 03:24 PM in reply to: Bidu6

Hi there,

 

A quick note on this process, bulk moving files in Vault is really not a best practice - although supported and certainly possible wherever you can this really should be avoided as part of your regular workflow.  Modifying the SQL tables with the relocated strings may negatively affect your overall DB performance.

 

In terms of the process, in Vault 2013 we changed the behavior of file move and rename to actually repair the file relationships on the next edit/open operation - so you can move released documents and their links will not be permanently updated until the next time they are enabled for edit.  This means you could technically provide access for an administrator or purpose built "move file" user to reorganize the data without having to do a bulk state change.

 

For more info read the following: 

http://wikihelp.autodesk.com/Vault/enu/Help/Help/0001-Using_Va1/0021-Manage_F21



Allan
Product Manager
Autodesk, Inc.
Valued Mentor
BLHDrafting
Posts: 350
Registered: ‎10-12-2012
Message 3 of 13 (720 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-23-2012 09:52 PM in reply to: olearya

I have thought of this problem before. I haven't tried this but it could be worth a go on a small test assy.

 

  1. From Vault do a get/checkout of the assy/s and include all required files. But download this to a directory other than the default (see graphic below).
  2. Use Task Scheduler to then check the files (directory) back into Vault. This should put them into the path they were downloaded to (I think??).

1 problem may be if you have Use Unique Filenames option turned on. If this is the case then after get/checkout to new folder then delete (or rename) old files. As mentioned above I have not done this and would recommend using a small test assy first.

 

Capture.JPG

Brendan Henderson

Web www.blh.com.au
Twitter @BLHDrafting

Windows 7 x64 -64 GB Ram, Intel Xeon E5-1620 @ 3.6 GHz
ATI FirePro V7800 2 GB, 180 GB SSD & 1 TB HDD, Inv R2013 PDS Premium SP2 Update 3 (Build 200), Vault 2013 Workgroup Update 2 (Build 17.2.9.0)
Employee
mikel.martin
Posts: 273
Registered: ‎03-16-2006
Message 4 of 13 (708 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-24-2012 11:15 AM in reply to: BLHDrafting

A couple other problem with this aproach...

 

You would lose all of the historical data when you delete the orginal files.

If this is important to you for any reason, then it could be an issue.

 

If you have files in multiple directory trees, when you do an override they are all going to end up in that folder.

This may give you unexpected results.

 

I agree with Allan on this. I would use the new Move/Rename functionality added in Vault 2012.

Also you dont need to move the files to quick change in order to move them.

You need write access to both folders but not the files.

 



Mikel Martin
User Experience Architect
PLM / Data Management
Autodesk, Inc.
Valued Mentor
BLHDrafting
Posts: 350
Registered: ‎10-12-2012
Message 5 of 13 (697 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-24-2012 07:05 PM in reply to: mikel.martin

Well I better put that in the memory banks as a DO NOT DO! Thanks Mikel.

Brendan Henderson

Web www.blh.com.au
Twitter @BLHDrafting

Windows 7 x64 -64 GB Ram, Intel Xeon E5-1620 @ 3.6 GHz
ATI FirePro V7800 2 GB, 180 GB SSD & 1 TB HDD, Inv R2013 PDS Premium SP2 Update 3 (Build 200), Vault 2013 Workgroup Update 2 (Build 17.2.9.0)
Active Contributor
Bidu6
Posts: 38
Registered: ‎10-15-2012
Message 6 of 13 (689 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-25-2012 08:22 AM in reply to: BLHDrafting

Thank you very much for the advice. I completely didn't think of the move command. I will use that going forward instead of just dragging over files to different folders. So using the move command it will store the historical data and everything is fine by using the move command? Thanks again.

Active Contributor
Bidu6
Posts: 38
Registered: ‎10-15-2012
Message 7 of 13 (685 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-25-2012 08:54 AM in reply to: Bidu6

The Move Command does require me to put it in quick-change mode first, otherwise it says I don't have the adequate permission to perform the action. Although I am an administrator and have persmissions for every folder. ???

Employee
olearya
Posts: 650
Registered: ‎08-14-2008
Message 8 of 13 (682 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-25-2012 09:06 AM in reply to: Bidu6

Your user likely needs write permissions to the files which is why I suggested creating a special user or adding write access to administrator.

 

Hope this helps.



Allan
Product Manager
Autodesk, Inc.
Active Contributor
Bidu6
Posts: 38
Registered: ‎10-15-2012
Message 9 of 13 (675 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-25-2012 01:39 PM in reply to: olearya

No I have complete permission for everything as shown in the attachment. I'm wondering why I still cannot move files in a released state to another folder through Vault's move function. Would it have to do with whether the files are locked or? I'm not really sure what the issue is if I have the correct permision.

Active Contributor
Bidu6
Posts: 38
Registered: ‎10-15-2012
Message 10 of 13 (661 Views)

Re: Moving Files to Different Folders in Vault (BULK)

10-26-2012 05:55 AM in reply to: Bidu6

I forgot to attach the security I have set up.I must be setting up the permission wrong (even thought I doubt it) or something else is preventing me from doing this.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
New button for Platinum & Gold Subscription customers
Gold & Platinum Subscription customers can alert Autodesk if they require assistance with their forum post

Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community