Skip to content

Configuration Parameters Table

3.5 Reference table for all data source configuration parameters

Section titled “3.5 Reference table for all data source configuration parameters”

The following reference table lists all available configuration parameters for a data source template. Parameters are grouped into tabs by category. Click a tab to browse that category, then click any parameter to expand it and see the full details.

Each parameter shows:

  • Type — the data type expected, e.g. string, boolean, object
  • Required — whether the parameter must be included
  • Default — the value used if the parameter is not specified
  • Purpose — what the parameter does
  • Example — an example value where applicable

url — string | Required: Yes

Purpose: Defines the base URL for the API request, supporting path parameters wrapped in {{}}.

Example: "https://api.carbonintensity.org.uk/generation", "https://dummyjson.com/products/{{num}}"

type — string | Required: Yes

Purpose: Defines the HTTP method used for the request.

  • GET — data is sent as part of the URL in query parameters
  • POST — data is sent in the request body
  • POST_FORM — content sent as a form rather than a JSON object

Example: "GET", "POST"

transform — string | Required: No

Purpose: Specifies an optional transformation function to apply to input or output data.

Example: "transformHistorianMultiValueInputs", "transformHistorianMultiChartInputs"

useProxy — boolean | Required: No | Default: false

Purpose: Indicates whether the API request should be sent via the built-in proxy server. Must be true if authentication is set in the headers section to avoid CORS errors.

Example: true, false

compatibleWith — array | Required: Yes

Purpose: Defines the types of components that can use the data from this data source.

Example: ["table"], ["chart", "value"]

trendWith — string | Required: No

Purpose: Optional data source ID of a data source with a trendable version of the parameter.

Example: "historian-multi-chart"

batchSize — number | Required: No

Purpose: Specifies the batch size for requests.

Example: 100

isTrendable — boolean | Required: No | Default: false

Purpose: Indicates if the data from this source can be used in trends.

isWriteable — boolean | Required: No | Default: false

Purpose: Indicates if data can be written back to this source.

isUnique — boolean | Required: No | Default: false

Purpose: Indicates if the data should be unique.

concurrentSize — number | Required: No

Purpose: Specifies the number of concurrent requests.

writeWith — string | Required: No

Purpose: Specifies another data source ID to use for writing data.

function — string or function | Required: No

Purpose: An optional function to be executed for data retrieval or transformation.

Example: 'staticChart'