Create user actions: Switch screens, change data and make API calls

Assign any platform actions to any app user actions:

USER ACTIONS that can be processed by platform

PLATFORM ACTIONS assignable to user actions

Button click [ Step by step example → ]

Image click [ Step by step example → ]

Link click [ Step by step example → ]

App screen refresh [ Step by step example → ]

Go to screen - redirect user to an other app screen, back to the previous screen or to the external URL.

Scroll to - scroll to top / bottom of the current screen.

Create Event - save files and data specified using Hashtags as Event in the platform events table. [ Step by step example → ]

Save to Object column - store the data selected using Hashtags in Object's particular column. [ Step by step example → ]

Execute Operations - execute the selected operation on the button click. [ Step by step example → ]

Set Variable - create a variable on the button click. Variables store temporary data which can be used in other parts of the platform via Hashtags links. [ Step by step example → ]

_________________________________________

  1. Add Button, Image or Link element to an app screen
  2. Click on it on the screen
  3. Click Actions button on the right hand side
  4. Select the needed action from the Add new action dropdown.

_________________________

ADD ACTIONS TO SCREENS
  1. Select Edit screen settings by clicking the pen
  2. Click Actions button on the right hand side
  3. Select the needed action from the Add new action dropdown.

_______________________________________________

CREATE EVENT AND SAVE THE ACCOMPANYING DATA

On the screen we will have text input and the button which saves the data from the text input to Backend.

  1. Open any app you have and click Add screen
  2. Drag and drop Text Input element, set properties:
    1. Backendname = Email
    2. Placeholder = Enter your Email
  3. Drag and drop another Text Input element, set properties:
    1. Backendname = Question
    2. Placeholder = Enter your question
  4. Add Button element to app screen, set properties:
    1. Backendname = Contact
    2. Caption Button = Contact me
  5. Click Actions button on the right hand side
  6. Select Create Event from Actions dropdown
  7. Name the action as Contact Action
  8. In Data table click Add item and set:
    1. Key = Email
    2. Value = #Backendname:Email#
  9. Click Add Item and add other pair:
    1. Key = Question
    2. Value = #Backendname:Question#
  10. Click Save.
Note! You can also create events on Link click and Image click.

________________________________________________

SAVE DATA TO CURRENT OBJECT ON BUTTON CLICK

Name and email entered by app user, will be stored to Name and Email columns in Objects.

How to set it up:

  1. Add elements
  2. Set it's Backend name
  3. Add Save to Object Column action to the button and fill in it's details and click Save.

How Object looks like:

Application User View:

_________________________________________

EXECUTE API OPERATION ON BUTTON CLICK
  1. Pick Execute Operations from Add new action dropdown list
  2. Pick an existing Operation from Add operation drop down list.
  3. Click Save
  4. Click Save Screen

You need to create the operation before calling it. Please refer to Operations article for more info.

_________________________________________

SET PLATFORM VARIABLE ON BUTTON CLICK
  1. Pick Set variable from Add new action dropdown list
  2. Click Add item under the Variables label
  3. Name your variable
  4. Use any combination of Hashtag link to set the variable's value
  5. Add as many Name/Value pairs as you need. Add Item button will appear each time you add and fill in Name/Value fields.
  6. Click Save
  7. Click Save Screen.

Please check Variables article for more info.

MENTIONED ARTICLES


Was it useful?