QueryDataTableEntries
Description
The QueryDataTableEntries service is used to query entries from a Data Table in ThingWorx. This service allows you to specify a query that filters the entries based on certain conditions.
Inputs
Parameter Name
Description
BaseType
values
Data values to be filtered for query results.
INFOTABLE
maxItems
Number of rows to be queried and shown as results. Default value is 500.
NUMBER
tags
Data Tags to be filtered.
TAGS
source
Source of the entry.
STRING
query
Query definition.
QUERY
Output
Parameter Name
Description
Base Type
Result
This service returns an InfoTable containing entries that match the query conditions.
INFOTABLE
Example

// result: INFOTABLE dataShape: ""
// Warning: Potential Performance issue, since query filter is performed in Memory
let result = me.QueryDataTableEntries({
maxItems: undefined /* NUMBER {"defaultValue":500} */,
query: undefined /* QUERY */,
values: undefined /* INFOTABLE */,
source: undefined /* STRING */,
tags: undefined /* TAGS */
});
Was this helpful?