ExportRule element
Defines a rule that is used for changing the displayed items in a Dynamic Virtual Element (DVE), for example changing the location of a parameter.
Parent
Attributes
Name | Type | Required | Description |
---|---|---|---|
attribute | TypeNonEmptyString | Specifies the attribute of the XML element specified in the "tag" attribute on which to apply this rule. | |
name | string | Specifies the name of the export rule. | |
regex | string | Specifies a regular expression to match particular values. | |
table | TypeWildcardOrNumber | Yes | Specifies the ID of table parameter that will generate the DVEs. |
tag | TypeNonEmptyString | Yes | Specifies the XML element on which to apply this rule. |
value | string | Yes | Specifies the value that needs to be set. |
whereAttribute | string | Allows the validation of the value of an attribute when an export rule is applied. | |
whereTag | string | Specifies, together with the whereValue attribute, a condition so the export rule will only be applied if the condition is met. | |
whereValue | string | Specifies, together with the whereTag attribute, a condition so the export rule will only be applied if the condition is met. |
Remarks
An export rule overwrites a declaration in a parent DVE element.
Note
Export rules are evaluated top-down. Therefore, the order of the export rules is extremely important.