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: 

CategoryService Event

1 REPLY 1
SOLVED
Reply
Message 1 of 2
SoftwareByCr
385 Views, 1 Reply

CategoryService Event

Hello,

 

at the moment i write a little Vault-Addin. This Addin fires a Procedur after the Category of an File has Changed. To do this, i found a Event called PostInvokeEvents in the Class CategoryService.

 

My Code:

 

PublicSub OnLogOn(application AsIApplication)

ImplementsIExplorerExtension.OnLogOn

 

AddHandler application.Connection.WebServiceManager.CategoryService.PostInvokeEvents, AddressOf cat_PostInvokeEvents

 

EndSub

 

 

But after changing the Category of an File there still no Event raised.

 

 

1 REPLY 1
Message 2 of 2
Redmond.D
in reply to: SoftwareByCr

Invoke events only fire when your code changes the file category.  There is no event to hook into when other code changes file category.



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