The Scenarios tab also allows system administrators to define variables or placeholders for them, such as flight code, airline, locations, etc. These variables can then be used in templates for displays and in text-to-speech announcements.
Since the following guide is intended for advanced customization, we'll skip the detailed descriptions in some places, such as how to create and design a template or a text-to-speech announcement, assuming you already know how to do that. In the steps on setting up a template, we'll show you an example of using scenario variables as part of a dynamic text and as part of an advanced script, but there are other ways to use them in the template designer. For example, you can use a scenario variable in dynamic media to select a specific row or column with a name that matches the value of that variable, or in state scripts to change the states of the template. Additionally, instead of dynamic text you can also create a visual paging element in template designer that would scroll the announcement content you have defined for a scenario.
Topics covered:
Scenarios tab,
Scenario activation tab,
Announcement library tab,
Templates tab
TUTORIAL STEPS:
| |
B) Adding data action Click the Add action tab. Select the Add data action. Note: unlike the other actions, you can only add data action once per scenario, and its order among the other actions cannot be changed, it will always remain first. | |
C) Input data configuration
| |
| |
E) Adding scenario data
| |
F) Select the scenario input data you need in a new sub-window. | |
G) Confirm your selection by clicking the "check" button. The selected scenario input data will be added to the announcement content where you left the cursor in the editor. | |
H)
| |
| |
J) Click the Canvas icon and select the Scenarios data source. | |
K) Adding dynamic text
| |
L) Dynamic text editor window
| |
M) Editing element script (optional)
| |
N) Edit script (optional)
|
if (get("scenario.context.cancelled_or_delayed"/*cancelled or delayed*/) == "delayed") setTextColor("#f2e760"); if (get("scenario.context.cancelled_or_delayed"/*cancelled or delayed*/) == "cancelled") setTextColor("#fb9c55"); |
O) Save & publish the template. | |
| |
Q) Completing the scenario
| |
R) Open the Scenario activation tab and click on your scenario. | |
S) Defining the input data Scenarios cannot be activated if the data variables expected in the announcement messages are not defined. These data variables will be highlighted in red, notifying users of missing data variables. In our example we have two placeholders for data variables that need to be filled in.
| |
T) Activate the scenario. | |
U) Example of the activated scenario on a display | |