AVEVA OMI Software Developer Kit
AVEVA OMI Developer Guide > MyViewApp Attributes
MyViewApp Attributes

Predefined ViewApp Attributes

You can access references and enable or disable features at run time through the use of ViewApp attributes. These attributes are part of the RuntimData assembly, are listed in the SystemTags.xml file. The SystemTags.xml file is located under:
C:\Program Files (x86)\ArchestrA\Framework\Bin\ViewAppFramework\Attributes

You can reference a ViewApp attribute by using an Action Script, Pushbutton, or other symbol animation (as applicable),  by using the following syntax:
MyViewApp.<Namespace>.<AttributeName>

The following namespaces are defined in the SystemTags.xml file. Each namespace contains a set of attributes:

Custom ViewApp NameSpace Attributes

In addition to the namespaces and attributes defined in the SystemTags.xml file, you can create custom attributes through the ViewApp NameSpace Editor. To reference a custom attribute in a script or an action animation, use the same syntax that is used for predefined attributes:
MyViewApp.<ViewAppNameSpace>.<CustomAttributeName>

The ViewApp namespace also contains several predefined attributes.

See Also