Vault Customization

Vault Customization

Reply
Contributor
mwillia1
Posts: 25
Registered: ‎09-02-2008
Message 1 of 8 (263 Views)

Inventor Vault Add-In Customization?

263 Views, 7 Replies
04-19-2012 06:59 AM

Is it possible to customize the Inventor Vault Add-In (VC 2012)?

 

Specifically, I would like to capture an event (like lifecycle state change) and fire off a task.  This is possible with the client but I can't find any documentation or samples for the Inventor Add-In.

 

Thanks,

Matt

Employee
Daniel.Dulzo
Posts: 61
Registered: ‎05-25-2011
Message 2 of 8 (261 Views)

Re: Inventor Vault Add-In Customization?

04-19-2012 07:47 AM in reply to: mwillia1

Hello Matt,

 

The Vault SDK doesn't provide a way to extend the functionality of the Inventor Add-in itself, but you can capture events for lifecycle state changes using the SDK's web service command events feature. All clients, including the Inventor Add-in, will fire these events and they will get passed to your extension. An example of this can be found in the Restrict Operations sample that comes packaged with the SDK. More information can also be found here: http://justonesandzeros.typepad.com/blog/2011/04/faq-events.html.



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Contributor
mwillia1
Posts: 25
Registered: ‎09-02-2008
Message 3 of 8 (258 Views)

Re: Inventor Vault Add-In Customization?

04-19-2012 07:58 AM in reply to: mwillia1

Ah.  I see that now.  I guess I didn't take my test far enough.  Thank you for the quick reply.

Contributor
mwillia1
Posts: 25
Registered: ‎09-02-2008
Message 4 of 8 (254 Views)

Re: Inventor Vault Add-In Customization?

04-19-2012 08:33 AM in reply to: Daniel.Dulzo

Also, Is it possible to prevent a connection to the Vault on the server side if a particular extension is not loaded on the client side?

Employee
Daniel.Dulzo
Posts: 61
Registered: ‎05-25-2011
Message 5 of 8 (252 Views)

Re: Inventor Vault Add-In Customization?

04-19-2012 09:07 AM in reply to: mwillia1

Sounds like you might be concerned that some clients might connect to the server when your particular extension isn't running to catch the web service command events. Unfortunately, the server doesn't know what extensions the client has loaded, so no, there isn't a way to prevent this on the server side.



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Contributor
mwillia1
Posts: 25
Registered: ‎09-02-2008
Message 6 of 8 (249 Views)

Re: Inventor Vault Add-In Customization?

04-19-2012 09:50 AM in reply to: Daniel.Dulzo

That's correct.

 

For an extension that is made to restrict an operation on a client: if any clients were missed during deployment of the extension then the restriction would not be enforced.  A user would also ptentially be able to override the restriction.

Employee
Daniel.Dulzo
Posts: 61
Registered: ‎05-25-2011
Message 7 of 8 (236 Views)

Re: Inventor Vault Add-In Customization?

04-20-2012 10:13 AM in reply to: mwillia1

If you override the GetRestrictions event on a web service command, any clients should not be able to override those restrictions, but you are correct that if a client is missed during the deployment of the extension, the restrictions would not affect that client.



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Contributor
mwillia1
Posts: 25
Registered: ‎09-02-2008
Message 8 of 8 (234 Views)

Re: Inventor Vault Add-In Customization?

04-20-2012 10:29 AM in reply to: Daniel.Dulzo

OK.  Thanks for the help.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.