Data Standard – Dynamic Properties


Data Standard 2016 introduces the “dynamic properties”. A brilliant feature that allows you to use Data Standard right away with less need for customization. If you have assigned Vault properties to a category, then the Data Standard dialog will show those properties as you select the according category. In this way, you can achieve quite flexibility in the dialog without the need to configure or customize the dialog.

In the case of Vault, all the properties assigned to a category shows up when you select such category. In case of CAD just those properties will show up, which are mapped to the according CAD file. This is because only those properties can effectively sync the value back to Vault.

Dynamic properties is really dynamic. You can configure in which order the properties shall be displayed, and whether some properties shall be hidden from the dialog. This can be accomplished via the VaultDynamicProperties.xml file in the Vault\Configuration or InventorDynamicProperties.xml CAD\Configuration folder.

Such file is generated while you work with Data Standard. So, after the installation of Data Standard the file is not there. Start creating files, folders and other objects, and you will see the files being created and grow while you select different categories. Such file can be edited with any editor, such as the XML Notepad. By changing the order of the properties in such file, the order of the properties in the Data Standard dialog will change too. If you add an attribute Hidden=”True” to a property, such property will not be displayed in the dialog.

<DynamicPropertiesCategory Category="Engineering" Type="File">
<DynamicProperty Hidden="True">Manager</DynamicProperty>
<DynamicProperty>Engr Approved By</DynamicProperty>
<DynamicProperty>Stock Number</DynamicProperty>

Another thing you will notice with dynamic properties, is the red border of some properties, in case those are not compliant. If for instance a property in Vault is set to be obligatory, a red border will show up on that property. The tooltip tells the user what is missing. The rules on the properties can be applied on the Vault property it self, or on the association with the category. Therefore the property can have different behaviours based on which category the property is assigned to.

In order to show the red border and bring the tooltip, the binding mechanism between the property and the control on the dialog has been improved. A new binding method has been introduced, called WPF:ValidatedBinding. Instead of using {Binding …}, by using {WPF:ValidatedBinding …} the control can get this new graphical behaviour. The ValidatedBinding also takes care about the activation of the OK button. So, instead of showing some red * in front of the control and then catch in the code wether the entry is correct or not, by using the ValidateBinding, all happens automatically based on the Vault property settings.

Try it with the Title. Replace the Binding with WPF:ValidatedBinding on the title control, and you will see the difference.

<TextBox Text="{WPF:ValidatedBinding Prop[_XLTN_TITLE].Value, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" Grid.Row="10" />

Of course, in case you still need even more flexibility, you still can create you own control mechanism, but I guess that for the most cases, this new Binding will do the job, and so reduce the need for coding.

It’s important to use Update 2 (or newer) of Data Standard, as important improvements have been made with such update.

Enjoy Data Standard and dynamic properties.

This entry was posted in Data Standard. Bookmark the permalink.

5 Responses to Data Standard – Dynamic Properties

  1. Christian kolb says:

    if I start a new file, Hidden=”True” is working, but if I edit a datasheet, the Properties are visible and the Sort is not like in the dynamic properties?
    vault 2016 Update 1, IV 2016 SP1, VDS Update 3
    Thanks for Help

  2. Christian kolb says:

    sorry, was testing for hours and did not realise, that i switched in a wrong Category

  3. Dave says:

    Why don’t all the vault properties assigned to the AutoCAD DWG category show on the dialog

    • Marco Mirandola says:

      hi Dave, in order to see the Vault properties in the dynamic prop window, the properties must be a) assigned to the category, b) be mapped with a CAD file property, c) the file mapping must be either bidirectional or file to Vault. Think it in this way, if you are in CAD and fill up the form you would expect that all you enter is then also present in Vault. If there is no mapping, or the mapping is Vault to file, then those information would not end up in Vault on the next check-in. In order to prevent user’s confusion, just mapped properties with the correct mapping direction are shown in the dynamic prop window. hth

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s