twitter youtube facebook linkedin email
Connect with:

Under the Hood - All things PDM and PLM

Autodesk Vault SDK Getting Started #4 – Event Handler

Markus Koechl
March 13, 2024

The Autodesk Vault Professional API enables developers to implement individual business logic handling events like check-in. Custom applications can subscribe to different event types for any Vault entity type. Handling events also includes capabilities to restrict the execution of the underlying action.

The SDK template “API Onboarding – Event Handler” provides a pre-coded starting point for new Event and Restriction Handlers targeting the client-server web service communication. Watch the video below on how to use this template.

For more details on the next steps, leverage the AU Autodesk Vault Programming 101 class. The existing AU sample code implements the legacy version of Thin Client link creation. These links are still valid but cause a re-direction. Therefore, I recommend using the newer link types that don’t cause a re-direction listed below:

File Master: “http://” + <ServerName> + “/AutodeskTC/” + <VaultName> + “/explore/file/” + <File.MasterId>

File Iteration: “http://” + <ServerName> + “/AutodeskTC/” + <VaultName> + “/explore/fileversion/” + <File.Id>

Folder: “http://” + <ServerName> + “/AutodeskTC/” + <VaultName> + “/explore/folder/” + <Folder.Id>

Item Master: “http://” + <ServerName> + “/AutodeskTC/” + <VaultName> + “/items/item/” + <Item.MasterId>

Item Iteration: “http://” + <ServerName> + “/AutodeskTC/” + <VaultName> + “/items/itemversion/” + <Item.Id>

Change Order: “http://” + <ServerName> + “/AutodeskTC/” + <VaultName> + “/changeorders/changeorder/” + <ChangeOrder.Id>

 

This blog is article number #4 of the Getting Started series:

#1 Installing the SDK and a first look into its content

#2 Creating a Vault console/standalone application

#3 Creating a Custom Vault Job

#4 Creating a Vault extension handling events and restrictions

#5 Discussing Vault Login, including authorization and licensing

Sincerely,

Markus

 

Learn more

Leverage the Vault Customization Forum whenever you have questions about programming Vault APIs or customizing Vault Data Standard.

To learn more about Autodesk Vault product data management, visit our product center here.

Join our Vault Communities

You can join the following communities to share feedback and product improvement requests with our Autodesk Vault product team:

Vault Ideas – Submit your ideas for improvements and new features.

Vault Forum – Discuss Autodesk Vault’s current workflows with our technical teams and your peers.

Feedback Community – Test Autodesk Vault alpha and beta releases and give your feedback directly to the Vault product team.

Markus Koechl

Markus Koechl is a Solution Engineer for PDM|PLM based in Central Europe. In this role, he focuses on Vault software, its interfaces, and extensibility. He supports Autodesk resellers, prospects, and customers in analyzing and optimizing workflows and practical approaches to managing design data and downstream processes. Markus is often found on the Vault Customization Forum - always ready to share experiences and best practices.

0 Comments

'