Vault Customization

Vault Customization

Reply
Active Contributor
27 Posts
0 Kudos
Registered: ‎09-02-2008
Post 1 of 8

Inventor Vault Add-In Customization?

267 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
61 Posts
8 Kudos
Registered: ‎05-25-2011
Post 2 of 8

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.
Active Contributor
27 Posts
0 Kudos
Registered: ‎09-02-2008
Post 3 of 8

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.

Active Contributor
27 Posts
0 Kudos
Registered: ‎09-02-2008
Post 4 of 8

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
61 Posts
8 Kudos
Registered: ‎05-25-2011
Post 5 of 8

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.
Active Contributor
27 Posts
0 Kudos
Registered: ‎09-02-2008
Post 6 of 8

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
61 Posts
8 Kudos
Registered: ‎05-25-2011
Post 7 of 8

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.
Active Contributor
27 Posts
0 Kudos
Registered: ‎09-02-2008
Post 8 of 8

Re: Inventor Vault Add-In Customization?

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

OK.  Thanks for the help.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!