Use a parameter to assign a value to a widget property
You can use parameters to provide values for widget properties, such as the titles, headers, and tooltips.
The ability to use parameters for widget properties has the following limitations:
- They can be used only within app boards, not to provide the title for the app.
- They cannot be used with widget style properties.
- They cannot be used to provide values for widget display formats, such as number or currency.
- If necessary, add a parameter to the app.
- In the title bar of the widget, click Properties
.
- For the property that you want to associate with the parameter, type the following:
- (For local variables or parameters configured to obtain values from user input) {@parameter_name}
- (For global parameters) {@@global_parameter_name}
When specifying to use a parameter in widget properties or the statement editor, you must always enclose the parameter within curly brackets. - Click OK.
When the app user views the widget, the user should see the parameter value assigned to the parameter.
Last modified: Friday May 12, 2023