Create references to ViewApp namespace attributes
- Last UpdatedDec 06, 2024
- 1 minute read
In order for a ViewApp NameSpace to have value, you must create references to its attributes. You can create references to ViewApp NameSpace attributes from:
-
Graphic scripts
-
Graphic animations
-
Layout scripts
Note: ViewApp Namespace attributes cannot be referenced from an object script. References from object scripts will validate successfully within the script editor, but a configuration error message will be displayed when you save the object. Objects that contain a script that references a ViewApp Namespace attribute will remain in a warning state and the reference will not resolve.
References can also be configured on application properties that support data binding. This is supported in the Properties Grid of the Layout and ViewApp editors, as shown below. See Configurable Properties in Archestra Apps for additional information.

Each ViewApp NameSpace attribute reference must be prefixed with the reserved system name "MyViewApp." For example, to reference "Attribute001" in "ViewAppNameSpace_001," the reference would be:
MyViewApp.ViewAppNameSpace_001.Attribute001
Autocomplete will display items in the autocomplete list box to help you as you begin typing references in the script editor or animation editor. Just double-click the item you want from the list box (for example, "MyViewApp") or select the item and press the Enter key. Each part of the attribute name must use a dot (period) as a separator.