Community
Vault Forum
Welcome to Autodesk’s Vault Forums. Share your knowledge, ask questions, and explore popular Vault topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API: Change Lifecycle State

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
pney
4072 Views, 2 Replies

API: Change Lifecycle State

Does anyone have an example of how to change a file from one lifecycle state to another, e.g. 'released' to 'work in progress'?  Also, how do you deal with the Document Service Extension, is there a security header?

Thanks

-Pete-

 

2 REPLIES 2
Message 2 of 3
Redmond.D
in reply to: pney

DocumentServiceExtensions.UpdateFileLifeCycleStates is the function you want to use.  The Recycle Bin 2.0 uses this function and has some sample code you can look at.

 

Yes, you have to deal with the SecurityHeader for DocumentServiceExtensions.  The process is the same as same as with the DocumentService, you log in then you copy the SecurityHeader information over from the SecurityService.  This is demonstrated in a video.



Doug Redmond
Software Engineer
Autodesk, Inc.

Message 3 of 3
pney
in reply to: Redmond.D

OK, that worked, thanks.

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

Post to forums  

Autodesk Design & Make Report