Hi,
var params = {
maxItems: undefined /* NUMBER */,
nameMask: undefined /* STRING */,
query: undefined /* QUERY */,
thingTemplate: "Vehicle"/* THINGTEMPLATENAME */,
tags: undefined /* TAGS */
};
// result: INFOTABLE dataShape: RootEntityList
var result = Resources["SearchFunctions"].SearchThingsByTemplate(params);
I am using above service to collect all thing which is implemented through the template.i am able to get things. but i am not able to get all the thing which is implemented by the template.
can any one help me?
Hi dinesh s,
Does the user running the Service have visibility Permission to the Things which are not showing up in the result?
hi Ankit,
i am login through Administrator. actually i am not getting around few things which i was implemented through the template.
Is any other reason is there. am not getting...
thanks
Dinesh
dinesh s,
I just tested it on my local Instance 7.3.2 and it worked fine.
Could you please answer following:
1. Is there any difference (Permissions/Tags/Project etc) in the Thing which shows and the Thing which does not show?
2. Any details/error in Application/Script logs.
3. Try using GetImplementingThings Service.
Example: var result = ThingTemplates["YourThingTemplateHere"].GetImplementingThings();