- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am migrating documents from an old Vault-like application into Vault.
I have various files representing the versions of a certain document, let's call it TEST.dwg, where the revised versions are 0.2, A.2 and B. So, I have three TEST.dwg files, seperated in folders like: 0.2\TEST.dwg; A.2\TEST.dwg; B\TEST.dwg.
The Vault is already configured to accept this numbering scheme.
In Vault, I have created the folders and added the TEST.dwg file successfully (from version 0.2), using the AddFile function.
Naturally, everytime I try to add another version I get the Server Error 1008 indicating the file already exists.
But, things become tricky now that I want to add the other files, corresponding to the other versions.
In the end, I need to be in a state where the document needs the three revisions, corresponding to those three versions of the file.
Made some research in the API SDK documentation but found nothing indicating adding a file as a new version or revision (it'd be quicker if I could set as revised right after adding).
I have thought the following solution:
- Checkout to Workspace;
- Copy and replace the new .dwg;
- Check in again.
Don't know if this is also possible through the API.
But, I was looking for a more direct solution, since I need to migrate 40k documents or so.
Thank you in advance.
Solved! Go to Solution.
