Variables

In Portal, there are different kind of widgets, few widgets are for static data like, Date, Weather, etc. and few are for dynamic data like List, Card, Table. The dynamic data can be obtained from multiple sources like Tasks, Templates, Drafts, Links, Reports, Data Connections (these are present in Widget -> Select Widget Content).

Taking an example for the List widget, a List widget is added on the grid space from the Widgets tab. In Select Widget Content, the Data Connection option is selected, it brings the data from the Data Connection like SQL. On deploying the Portal, the list of items can be seen those are fetched from the SQL. Now if some actions are required to be done on the data the Actions and Variables are required. These can be found under, Content → Actions or Content Variables. In Variables, the variables required are added.

Portal Variables can be managed in this section. On clicking on settings for Variables in Contents, Manage Variables pop-up appears.

Add

Variables can be added to Portal using Add option. On clicking, Configure Variable pop-up appears. Here, new variables can be added. It contains following:

  1. Name: The variable name is given here.

  2. Type: The data type is selected here. The data types are: String, Decimal, Integer, BigInt, Bit, DateTime, Date.

  3. Default Value: The default value of variable is given here.

Search

You can search for a variable using Search option.

The added variables are displayed in the form of a table. The table consists of following fields:

  1. Variable Name: The variable name appears here.

  2. Data Type: The variable data type appears here.

  3. Default Value: The default value given while adding the variable appears here.

  4. Actions: The Variables can be edited or deleted from here.

You can select the columns to be displayed and sort the variables by clicking on the column menu next to Variable Name, Data Type, Default Value, and Actions.