Vault plug-ins and the App Manager


Previously Vault would only load plug-ins from one location.  Starting in 2014, it now can load plug-ins from 3 locations.  Two new locations were added to support the App Manager.  So if you are creating an app for the Vault Exchange store, you can install to the locations that App Manager is used to working with.

Here are the 3 locations:

  • %programData%\Autodesk\[Vault Version]\Extensions
    This path is specific to Vault
  • %programData%\Autodesk\ApplicationPlugins
    This path is for App Store plug-ins which are installed to all users on the computer
  • %appData%\Autodesk\ApplicationPlugins
    This path is for App Store plug-in which are installed to a single user on the computer

Setting up the PackageContents.xml for the app store should be pretty straightforward for a Vault app.  The only major difference is that instead of pointing to a DLL, a Vault module should point to the .vcet.config file.  You should also have your plug-in DLLs in the same folder as your .vcet.config file.

Here is an example PackageContents.xml with a Vault module:

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0" AutodeskProduct="Vault" Name="Job Stuff" Description="Job Stuff" AppVersion="1.0.0" FriendlyVersion="1.0.0" ProductType="Application" SupportedLocales="Enu" AppNameSpace="appstore.exchange.autodesk.com" ProductCode="{46D19B6E-6888-4E27-B6C1-65A7E596DF06}" UpgradeCode="{284169AB-1CF4-4F5A-B7F3-64771319E9A8}" OnlineDocumentation="http:\\www.autodesk.com" Author="Autodesk">
  <CompanyDetails Name="Autodesk" Url="http:\\www.autodesk.com" Email="nobody@autodesk.com" />
  <RuntimeRequirements Platform="Vault" />
  <Components Description="Autodesk Job Stuff.bundle parts">
    <RuntimeRequirements Platform="Vault" SeriesMin="V2014" SeriesMax="V2014" />
    <ComponentEntry AppName="JobStuff" Version="1.0.0" ModuleName="./JobProcessorApiSamples.vcet.config" />
  </Components>
</ApplicationPackage>


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

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

Continue reading