Configure the Data Standard Dialog

Add fields to the Data Standard dialog by modifying the .xaml files for Vault, AutoCAD, and Inventor.
Note: You will need a text editor to modify the .xaml files. For the examples in this topic, we use XML Notepad 2007.

See Anatomy of a .xaml File for more information about modifying the .xaml files for Data Standard.

Configure the Data Standard Dialog

  1. Make sure you have added any new property definitions to the .cfg files for AutoCAD and Inventor if you intend to map to them from the Data Standard dialog. You do not need to modify a .cfg for the Vault client.
    Note: All the fields that will be accessible in the Data Standard dialog as a property must be defined here. The name of the property is also the name of the file or title-block property. If the property name matches an existing file property, such as title , then this file property is used. Otherwise a custom property is created. The only exception to this rule is AutoCAD. When AutoCAD synchronizes properties, it does so from Data Standard to the title-block attributes, not to the file attributes.

    See Modify the CAD Configuration File for Data Standard for more information about property definitions.

    For example, if I want to add a field with the Company name to the Inventor Data Standard dialog and I want it mapped to our file property company, I must create a new entry for that property in the Inventor.cfg file first.

  2. Locate the .xaml for the Data Standard Dialog that you want to modify. For example, if you want to change the Data Standard dialog layout for Inventor, you must make changes to the Inventor.xaml. Refer to the following list for the .xaml file locations:
    • Vault– C:\ProgramData\Autodesk\Vault 2014\Extensions\DataStandard\Vault\Configuration\File.xaml
    • Inventor– C:\ProgramData\Autodesk\Vault 2014\Extensions\DataStandard\CAD\Configuration\Inventor.xaml
    • AutoCAD– C:\ProgramData\Autodesk\Vault 2014\Extensions\DataStandard\CAD\Configuration\AutoCAD.xaml
  3. Open the .xaml file with any text editor (e.g., XML Notepad 2007).
  4. Create any labels or text boxes that you want to add to the Data Standard dialog under the Grid Folder. Each label and text box requires its own content definition as well as a value for how it should be ordered (Grid.Row and/or Grid.Column) on the dialog.
    Note: Be careful with the rows and columns. They begin with the index 0 and not 1. If you need new rows or columns, just copy and paste them and insert them in the proper definition part. If you are not sure about the height of rows and width of columns, just use the value "auto" or "*".

    Text boxes also need to be enabled (IsEnabled).

    Tip: Duplicate an existing Label and Text box and modify the values for quicker changes to the.xaml file.

    For example, if I want to add a new Company label, I would navigate to the Grid folder and insert a new Label and provide a Content definition for it. Then I would modify the Grid.Row value for that label to indicate in which order on the dialog the label should appear.

  5. Save the file and close it.
  6. Launch the dialog to see the new labels and text boxes and make sure that everything displays correctly.