Accessing Scenario Properties
Scenario properties are used to access information that applies to each scenario in a view.
The
scenario.props global is pre-populated with the scenario properties, which include:
- id
- name
- notes
- path
- ownerId
- shareStatus
For a full list of available properties, see the JavaScript API documentation where the ScenarioProperties class is described.
Scenario properties can be accessed by the following methods:
Code editor
<vdl-section>
<vdl-row>
<vdl-column>
<span vdl-text="=scenario.props.name"></span>
</vdl-column>
</vdl-row>
</vdl-section>
View Designer
Accessing Scenario properties with the View Designer
