Search

Sensor

A Sensor can monitor changes to values or contents of other elements (such as “Controls” or “Data Processing”) and execute an action depending on this.

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

appdoo - Elements - Sensor

Properties

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

Sensor

appdoo - Elements - Sensor (Sensor)

  • 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 Sensor is located. You can also edit the name by double-clicking on the Sensor in the outline. We recommend that you assign unique names when working with Data Links.

  • Enabled
    Activate this checkbox so that the sensor is enabled. If you deactivate this checkbox, the desired value or content of an element is not monitored. Thus you can deactivate the monitoring temporarily without having to remove the entire element from the screen.

  • Data Value
    Specify the connection to the value or element to be monitored here. You create the connection via the Data Links (more on this topic) of the Sensor.

  • Trigger an Action once
    Here you can select the type (operator) on which the monitoring of a value and the resulting execution of an action is to be performed.

    • the data value changes
      Select this option if the action is to be performed as soon as the value to be monitored changes.

    • the data value is equal to
      • Text field
    • the statement … is true
      • the Value is empty
      • the Value is not empty
  • Trigger Repeatedly
    Activate this checkbox if the monitoring by the Sonsor is to be performed continuously.

Action

appdoo - Elements - Sensor (Action)

Here you define the type of action to be executed. You can choose between the following action types:

  • (No Action)

  • Show Screen
    If you select this option, the screen you defined will be displayed when you tap on the button. You can choose between different transitions for the transition from the current screen to the target screen:

    • None
    • Push from Bottom
    • Flip
    • Crossfade

    You can also define here whether data should be transferred to the next screen. If you activate this checkbox, a list of available data sources (e.g. RSS 2.0 Feed, Atom Feed, JSON container etc.) is displayed below. You can select one entry from this list.

  • Go Back
    You select this option if, for example, you want to give the user of your app the possibility to return to the overview from a detail page. In this case it is a good idea to position the button in the upper left corner of the navigation bar.

    However, this option has no effect/function if the user has changed the screens via the Tab Bar.

  • Perform Object Action
    If you select this option, a list of the Object Actions (located in the “Miscellaneous” area) of the current screen is displayed. You can select one entry from this list.

The following property of the element can be set using the data links:

  • Data Value

All information about this area can be found on the separate Data Links page.

appdoo - Elements - Sensor - Data Links