Get Specification VariablesView in SDK Docs
This example displays all of the Variables for a Specification with their values in a table.
Get Specification ConstantsView in SDK Docs
This example displays all of the Constants for a Specification with their values in a table.
Update a ConstantView in SDK Docs
This example shows how Constant values can be updated via the API (if Constants are available and listed above).
To allow a Constant to be updated using the Integration Theme, it must be granted edit permissions.
By default, all Constants are read-only unless specifically marked with canEdit="true".
See Integration Theme Settings in DriveWorks Pro Help for more details.
Reacting to Constant/Variable changes
Once a Specification is rendered, you can listen for custom events fired when the value of a Constant or Variable changes, and access the new value that is automatically returned.
This is achieved by registering custom functions using:
For more information and sample code, see the Events example.