Data Standard: required fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am starting VDS customization and have some questions about the below unclosed post:
data-standard-vault-required-fields-is-needed-but-not-working
1) Required fields declaration:
I understand the mandatory-to-be-filled properties can be set:
-either in VAULT by checking “EnforcedListValues” in VAULT/Administration/Behavior/Properties (after associating property/category and mapping file/Vault property)
-or in cfg files by declaring the properties, and if need, setting the attribute "RequiresValue" to "True"
I am not clear about the usage of files DynamicProperties.xml:
a) Either the files VaultDynamicProperties.xml and InventorDynamicProperties are both defined from the Associations and Mappings defined in Vault? If so, which of above 2 settings takes the precedence in the DataStandard GUI?
b) Or the only the file VaultDynamicProperties.xml is defined from the Associations and Mappings defined in Vault, whileas the file InventorDynamicProperties.xml i defined from the file Inventor.cfg?
1) Required fields style definition:
-In above mentioned post, what was Wangdu's meaning 'add the * manually'?
-Should not be the customized * (or say the default VDS red border) defined within the files File.xaml and Inventor.xaml > Resource > Style > Required (below snippet)?
<Window.Resources> <Style x:Key="Required" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}"> </Style> </Window.Resources>
a) If no, where should be defined the trigger style for required fields and what is the purpose of the Required style? (I tried to modify the Required style in both files File.xaml and Inventor.xaml, for example the BorderThickness, it seems to have no effect on the GUI)
b) If yes, the above snippet shows the Required style is targeted to TextBox controls, however is it applied to any type of controls, such as Combobox controls?
Thank for your lights,
Best regards.