Datasources
Types
Configuration options
Property
Description
Code Examples
isDocument example
datasources:
contactData:
type: datasource.sqlite
options:
# The isDocument property for the datasource is set to true.
# As a result, the datasource will return as a single record to be displayed,
# instead of an array of records.
isDocument: true
provider: DATA_PROVIDER_DYNAMIC
entities:
- default/contacts
query: |
SELECT
id,
'$.firstName',
'$.lastName',
'$.jobTitle',
'$.companyName',
'$.phone',
'$.email'
FROM
[default/contacts]
WHERE
id = @contactId
queryParameters:
contactId: [email protected]jsonProperties example
Where and how to use datasources
In a Global file

Local within a jig

See Also
Last updated
Was this helpful?