Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi community,
Can someone send a code to write a custome wrapper service to invoke the Query Implementing Things with Data service.
Solved! Go to Solution.
Hi @alenaromi.
Here's some very basic code:
var result = ThingTemplates["GenericThing"].QueryImplementingThingsWithData({
maxItems: undefined /* NUMBER */,
nameMask: undefined /* STRING */,
query: undefined /* QUERY */,
tags: undefined /* TAGS */
});
This specific example for the "Generic Thing" thing template, but you can change it as needed.
Regards.
--Sharon
Hi @alenaromi.
Here's some very basic code:
var result = ThingTemplates["GenericThing"].QueryImplementingThingsWithData({
maxItems: undefined /* NUMBER */,
nameMask: undefined /* STRING */,
query: undefined /* QUERY */,
tags: undefined /* TAGS */
});
This specific example for the "Generic Thing" thing template, but you can change it as needed.
Regards.
--Sharon
Thank You.