Variables in Canvas App

In a Canvas app, a variable is a container that holds a value or a set of values that can be used throughout the app. Variables can be used to store user input, data retrieved from a data source, or values generated by the app.

There are several types of variables that can be used in a Canvas app:

  1. Global variables: These variables are accessible from any screen in the app and can be used to store data that needs to be shared across screens.
  2. Context variables: These variables are used to pass data between screens. They are created on one screen and then passed to another screen as part of a Navigate function.
  3. Collection variables: These variables are used to store a set of related data. They can be used to hold data retrieved from a data source or data entered by the user.
  4. Record variables: These variables are used to store a single record of data from a data source.

Variables can be created and initialized in a number of ways in a Canvas app. They can be created manually by the app designer or created automatically when data is retrieved from a data source. Variables can be initialized with a default value or set to a value entered by the user or retrieved from a data source.

Variables can also be used in a number of ways in a Canvas app. They can be used to set the value of a control, perform calculations, filter data, and more. By using variables, you can create dynamic, interactive apps that respond to user input and update data in real-time.


Posted

in

by

Tags: