Resource Parameters

Input parameters can be used to get resource data slice. Partial data loading reduces timeout on data request from data source. To specify input parameters in data source resource requests, specify values of parameters available after resource import. When values of parameters are specified, only the data corresponding to the specified data request conditions is selected from the resource.

Table resource input parameters are divided into two types: scalar and table.

NOTE. Setup of default values is available only for scalar values of parameters. An empty table is a default value for table values of parameters.

Resource's input parameters can be added via requests from a mobile device or in administrator console.

IMPORTANT. To integrate with table data sources, input parameters must satisfy the conditions.

Determine a method for adding input parameters using mobile application status in the drop-down list of the Mobile Application State column:

NOTE. Parameter value is set only on data request. The request must contains parameter value to avoid errors.

NOTE. Parameter data type in the mobile platform database, source data type in the data source, and parameter name cannot be changed.

Set up caching if required and click the Save button. The resource is added to the list of data source resources.

Features of Input Parameters of JSON Data Source Resource

When editing JSON data source resource, set input parameters manually:

To add a parameter:

  1. Enter parameter name in the box in the Parameter Name column.

  2. Select mobile application status in the drop-down list of the Mobile Application Status column.

  3. Set the parameter value in the box in the Value column depending on the selected mobile application status.

NOTE. The box is available if the Unavailable, Variable, or Function mobile application status is set.

  1. Click the Save button.

After executing the operations the parameter is added in the parameters table.

To edit the parameter, change contents of table fields and click the Save button.

To delete the existing parameter in the table, select the Delete checkbox next to the parameter and click the Save button.

Features of Input Parameters of Foresight Data Source Resource

When data of Foresight data source resource are cached, the set of resource input parameters depends on object type:

NOTE. Parameters are set from administrator console. The group of elements and dimension elements selection are set via a mobile device using API request.

NOTE. Parameter and groups of elements are set from administrator console. Attributes are set via a mobile device using API request.

See also:

Import of Data Source Resources | Cache Control