Parameters
Last updated
Last updated
Parameters are a key resource for several Gaio features, such as filters in dashboards, filters in APIs, use in loops, among others.
A parameter is nothing more than a variable that absorbs different values passed to Gaio by the user, API and other ways.
A parameter does not have a type (numeric, date, text). It only has a name and a default value (optional).
To create parameters, access the menu on the left of Studio and click on the icon in the image below:
Parameters menu: all parameters already created in this application are listed.
Save: Saves the values currently in the parameters as default values.
New: add a new parameter.
Update: Updates the parameter values on the screen.
Filter: search by parameters.
userId: this is the only parameter that always exists. It contains the Gaio id of the user who is currently using Gaio. This way it is possible to filter the sales of the seller who has just entered Gaio, as in the process it is possible to identify the connected user.
Created parameter: this is a parameter created by the analyst, which can be deleted using the trash can on the right.
Edit Parameter: can have its default value and name changed when clicked.
The image above is the screen for creating/editing a parameter.
Parameter name.
Parameter description.
Standard value.
Group for grouping parameters.