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: 

Life Cycle State of File

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
amitnkukanur
676 Views, 4 Replies

Life Cycle State of File

Hello, I am new in vault customisation. I am doing a customisation and to some extent my code is working fine. But now i have to generate/trigger a event when a life cycle state changes from one state to other. 

 

Can any one tell me how to capture a event when life cycle state of file changes from one state to other or if a sample piece  pseudo code will help me a lot

 

 

 

Senior Software Engineer
4 REPLIES 4
Message 2 of 5
psaarloos
in reply to: amitnkukanur

You need to create a class that implements the WebserviceExtension interface.

Take a look at the RestrictOperations sample of the Vault SDK. It's a great sample!

Regards,
Pim

Regards,
Pim Saarloos
Product Manager
If my post answers your question, please click the "Accept as Solution" button. Kudos are much appreciated!
Message 3 of 5
amitnkukanur
in reply to: psaarloos

Hi psaarloos, thanks for reply. I am still in confusion but how will you trigger a event when life cycle state is changed

Senior Software Engineer
Message 4 of 5
amitnkukanur
in reply to: amitnkukanur

I found the link and this 

http://justonesandzeros.typepad.com/blog/2011/05/solving-the-four-eyes-problem.html  and am working on it.

 

But one small question is how you execute it in debugging mode. I am trying the cursor in debugging mode on Load event. Any idea how to do this

Senior Software Engineer
Message 5 of 5
Redmond.D
in reply to: amitnkukanur

Here is how to debug a custom command.  The same technique can be used for event triggers http://justonesandzeros.typepad.com/blog/2010/04/debugging-a-custom-command.html

 

Also, make sure you DLL is actually loading.  http://justonesandzeros.typepad.com/blog/2012/07/extension-loading-error-logging.html



Doug Redmond
Software Engineer
Autodesk, Inc.

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

Post to forums