Top 5 Awesome things in the Vault 2011 SDK

  1. Vault Client API – Add custom commands and tab views to the Vault Explorer client.
  2. Job Processor API – Write handlers for custom job types and plug the handler into JobProcessor.exe.
  3. Autodesk.Connectivity.WebServices.dll – All web services are packaged up into a single DLL.  So just reference this DLL instead of setting up multiple web references.  Also, this fixes WSE and namespace headaches.
  4. Lifecycle Event Editor – Configure ADMS to add a job to the queue automatically when a file changes lifecycle state. 
  5. Job Server is now included with Vault Workgroup 2011. 
     

I realized that I never did a proper matrix on which APIs go with which 2011 versions of Vault.  So let me correct that here:

  Vault Vault Workgroup Vault Collaboration Vault Professional
Web Services API Yes Yes Yes Yes
Vault Client API No Yes Yes Yes
Job Processor API No Yes Yes Yes

Comments

4 responses to “Top 5 Awesome things in the Vault 2011 SDK”

  1. Stefan Avatar
    Stefan

    Using the client API there is no way to access files in the Where Used/Uses tabs?

  2. Maybe. It depends on you are trying to do.
    When your command gets executed, an object is passed in that lets you see what is selected in the 3 major Vault Explorer panes.
    In the case of the preview pane, you can see what is selected, but not which tab is active. And for Uses and Where Used, you only get the label (filename) and not the ID.
    It’s still possible to get that information however. In the view pane, you can get the selected file, along with the ID. Next you would use that ID to find out the parent or child associated files.
    I’m probably not making much sense. It’s hard to describe in this comments section. I encourage you to play around with it a bit to see what data gets pass in to your command event handler.

  3. jselzer Avatar
    jselzer

    I want to write a custom Job to move (copy) files from one folder to another (outside Vault), upon an event in vault. Where can i start?
    Is there any sample code to get me started, where can i find it? Haven’t written code in a long time, but need this functionality.
    What can you lead me?

  4. Just to be clear, the only event that Vault 2011 can do is queue up a job on a file lifecycle change. Hopefully this meets your requirements.
    The best place to start is with the SDK, which is installed to a folder called SDK under your Vault Server install directory. You will want to focus on the Job Processor API, which is how you write a custom job handler. There are also some samples in the SDK under the title JobProcessorApiSamples.
    My Watch Folder example from this blog also uses the Job Processor API, but it’s more dense than the SDK samples.
    I’m not sure what your programming background is, but you might want to start at http://msdn.microsoft.com for general programming help.

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading