Actions: Utility

Answer Dialog

Displays a dialog box with a given message and 1-3 choices as buttons.

Argument Description
Output The location where the selection will go (variable or text or field element).
Message A variable or input to be displayed in the dialog box.
Choice1 A variable or input to be displayed as a button in the dialog box.
Choice2 A variable or input to be displayed as a button in the dialog box.
Choice3 A variable or input to be displayed as a button in the dialog box.

Check Internet Status

Checks the status of the internet connection, and returns ‘true’ or ‘false’.

Argument Description
Output The location where the internet connection status will go (variable or element)

Combine the Values

Combines two values (variable or input) and stores the result in a specified variable.

Argument Description
Value1 A variable or input to be combined.
Separator A separator placed between the two values being combined.
Value2 A variable or input to be combined.
Output The location where the combination of the two values will be stored (variable).

Comment

Add a helpful comment to your code.

Argument Description
TheComment The comment string to display

Email the PDF

Emails the specified element’s rectangular boundary of a given screen as a pdf file.

Argument Description
Subject The subject of the email.
Body The body of the email.
Screen The screen to be emailed.
Element An element whose rectangular boundary specifies the area of the screen to be emailed as a pdf.
Recipient The email where the pdf will be sent.
FromEmail The email that will be displayed as the sender’s email.

Filter Duplicate Lines

Removes duplicate lines from a list.

Argument Description
Input The variable or text or field element that contains a line-delimited list.
Output The location to store the filtered list (variable or text or field element).

Get Element Value

Retrieves the value of the specified element.

Argument Description
Element The element (dropdown, field, radio, switch, or text) whose value will be retrieved.
Output The location where the result will go (variable or dropdown, field, radio, switch, or text element).

Get the Platform

Retrieves the specific platform of the current device (Windows, MacOS, iOS, Android).

Argument Description
Output The location where the result will go (variable).

Get the Tax

Retrieves the tax rate of a given location.

Argument Description
Address A variable containing the address of the location.
City A variable containing the city of the location.
Zip A variable containing the zip of the location.
Output The location where the result will go (variable or text or field element).

Get the Version

Retrieves the current version of Appli IDE or Appli Player the device is running.

Argument Description
Output The location where the result will go (variable or text element).

Hide Loading

Hides the loading dialog box.

Prints the specified element’s rectangular boundary of a given screen to a pdf file.

Argument Description
Filename The filename of the pdf to be saved.
Screen The screen to be printed.
Element An element whose rectangular boundary specifies the area of the screen to be printed.

Reset Element

Resets the specified element to its default state. Supported elements: field, radio, search, dropdown, login, create account.

Argument Description
Element The element to reset.

Set Element Value

Sets the value of the specified element.

Argument Description
Element The element (dropdown, field, radio, switch, or text) whose value will be set.
Value The value the specified element will store (input, variable or dropdown, field, radio, switch, text element).

Set Item Separator

Set the item separator for this code block.

Argument Description
Separator Specify the string character(s) that will act as an item separator within (this) event’s code

Show Loading

Displays a dialog box with a given message and a loading spinner.

Argument Description
Message A variable or input to be displayed in the dialog box.

Sort Lines

Sorts lines from a list.

Argument Description
Input The variable or text or field element that contains a line-delimited list.
Direction Which direction (ascending or descending) to sort the lines by.
SortType The type of data stored in each line to sort by.
Output The location to store the sorted list (variable or text or field element).

Toggle Password

Show or hide password input in a field element. The “password” property must be on for this action to occur.

Argument Description
Element The field element to have its password input shown or hidden.

Wait

Wait for a specific amount of time, in milliseconds. (The wait is non-blocking).

Argument Description
Number Specify the number of milliseconds to wait

This chapter was last updated on Wed 8 Feb 2023 14:24:05 GMT