Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
mr
Participant
1345 Views, 3 Replies

Handle DocumentSercive.CheckInFileEvents (Vault API) in an Inventor Add in

Is it possible to possible to handle events from the vault API into an inventor add in?

My plan is to perform certain tasks automatically after checking in a file into the vault.

 

That's why I tested various handlers for events, but the events aren't fired.

 

        Implements IWebServiceExtension

            AddHandler DocumentService.CheckinFileEvents.Pre, AddressOf CheckIn
            AddHandler DocumentService.AddFileEvents.Pre, AddressOf AddFile

        Private Sub CheckIn(ByVal sender As Object, ByVal e As CheckinFileCommandEventArgs)
            MsgBox("Test")
        End Sub

        Private Sub AddFile(ByVal sender As Object, ByVal e As AddFileCommandEventArgs)
            MsgBox("Test")
        End Sub

At the add in start up the event handlers will be added, but during a file check in the events are not fired.

 

I think the events are fired by the vault client and my inventor add in doesn't get noticed from that?

 

Is there a way to handle events from the vault into an inventor add in?

 
 
I hope someone has an idea for me, best regards
Marcel Ruzbacky