Initializing help system before first use

vdl-execute-button

Creates a button on the page that sets a scalar entity and then runs the specified scenario.

Example

<vdl-execute-button entity="ModelLoadType" value="simple_mode" mode="load" caption="Set ModelLoadType to 'simple_mode' and load the first scenario"></vdl-execute-button>

<vdl-execute-button scenario="=s" entity="LastRun" value="=Date()" caption="Set LastRun to current datetime and run scenario 's'"></vdl-execute-button>

<vdl-execute-button mode="FAST_MODE"></vdl-execute-button>

Attributes

caption The text to display on the button. Defaults to "Run Mode" or "Load Mode" depending on the mode.
enabled Whether the button is currently enabled. accepts expression
entity The name of the scalar entity to set before running the scenario.
mode The execution mode to issue to the scenario. Can be one of the built-in modes: "RUN", "LOAD", or a custom execution mode for the app. Defaults to "RUN".
scenario The scenario to set the entity on and run. Defaults to the first scenario. accepts expression
value The value to set the entity to. Can be a fixed value or an expression. accepts expression