Action Set

This element allows you to define a set of actions which are to be executed in one go, for example to show a screen and simultaneously start a timer when pressing a button.

After adding a Action Set to your screen, you will find this item in the Outline in the Objects folder.

appdoo - Elements - Action Set

Properties

To show the properties of the Action Set, click the Properties tab (the slider icon) in the upper right sidebar.

Action Set

appdoo - Elements - Action Set (Action Set)

  • Name
    Here you give the element a name. This name is only used within appdoo. For example, you can quickly see in the outline where each Action Set is located. You can also edit the name by double-clicking on the Action Set in the outline. We recommend that you assign unique names.

Add Action

After you have added an Action Set to your screen, it does not yet contain any action. To add a new action click the button “Add Action”. A new area will be added where you can configure the action.

appdoo - Elements - Action Set (New Action)

Let’s look at the different options in detail.

First choose the desired action type from the selection menu. After the selection further configuration settings become visible within the area of this action.

  • (No Action)
    If you select this option, no action will be performed.

  • Show Screen
    This option allows you to show a specific screen of your project.

    appdoo - Elements - Action Set (Show Screen)

    • Screen
      Here you select the screen of your project to be shown.

    • Modal Presentation
      You can choose between different transitions for the transition from the current screen to the target screen:
      • None
      • Push from Bottom
      • Flip
      • Crossfade
    • Transfer Data
      Activate this checkbox if you want to transfer the contents of a data source of the current screen to the target screen.

      The corresponding multiline selection field is only displayed if there is at least one Data Source on the current screen. Select a Data Source by clicking on the corresponding entry. The selected entry is displayed inverted.

  • Go Back
    Select this option if you want to switch to the screen that was visible before the current screen. However, this does not apply if the user has switched screens via the Tab Bar.

  • Perform Object Action
    If you have selected this option, a multiline selection field with your objects (see “Objects” folder of the outline) is shown. Select an Object by clicking on the corresponding entry. The selected entry is displayed inverted.

    Depending on the selected object, various options are available in the select box below. For example, you can display an Alert View, start the playback of an Audio Player, or initiate the reload of a Data Source.

    appdoo - Elements - Action Set (Perform Object Action)

  • Arrow up
    A click on this arrow moves the action one position up in the list. This button is only clickable if the function is available.

  • Arrow down
    A click on this arrow moves the action one position down in the list. This button is only clickable if the function is available.

  • “×” Button
    A click on this button deletes the action from the list.