Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Excerpt | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Startup Actions
Configuring Startup ActionsAdding a Screen to the Startup Action
Removing a Screen from the Startup Action
Viewing Existing Startup Actions
|
|
|
|
Worked Example
Here's a worked example using the School Data (available from the Learning Centre).
In this example, we are using:
- A Home screen containing text and an image - this screen was created using the Landing Screen 1 template
Tip |
---|
If you are completing this chapter as part of the Actionflow course and using a training instance, this data has already been pre-loaded into the Actionflow Foundation Application. For this example, we'll be working on the Home screen. |
We want to configure a message on the Home screen to display the user's full name when they open the application.
Configure the Startup Action
- Open the Startup Actions for the application by clicking on the
button in the header barInsert excerpt _home _home nopanel true - Select
to see the current active Startup ActionsInsert excerpt _startup _startup nopanel true - Double-click Default Menu to open the Startup Action
Insert excerpt _property_settings _property_settings nopanel true - Click on the Actionflow link to open the Actionflow
- On the Actionflow canvas are the two screens that open when the application starts
- Click on the message
action to open itsInsert excerpt _action_calculate _action_calculate nopanel true Insert excerpt _property_settings _property_settings nopanel true Double-click on the Output Attribute, pfMessage, to open its
and make the following changes to the Expression:Insert excerpt _property_settings _property_settings nopanel true Code Block theme Emacs expand_user.firstName + " " + _user.lastName
title Checkpoint
Close the Actionflow and reload the page to run the Startup Action