Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Purge - how to remove useless versions

1 REPLY 1
Reply
Message 1 of 2
Bronislav.Simunek
1161 Views, 1 Reply

Purge - how to remove useless versions

Hello

I write a tool to migrate files from another DMS into a Vault. I need to get rid of the file versions that are useless. Typically these versions were created when a file was initially uploaded into a Vault and after this its life cycle status was changed to the requested.

I tried calling DeleteFileVersionsUnconditional. It did not throw any exception and file versions remained in history.
I tried using "Purge" command within the History tab in the Vault Explorer and obtained the message that I do not understand:
"Version is unpurgeable due to revision purge rules or settings."

 

Thanks in advance for any help

Bron


 

Tags (1)
1 REPLY 1
Message 2 of 2

You are better off configuring the purge settings from ADMS console then letting the background processes take care of the purge.

There are too many limitations if you try to delete file version one at a time, either through the API or the UI.



Doug Redmond
Software Engineer
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report