cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Call service of 'GetImplementingThings'

srude
1-Visitor

Call service of 'GetImplementingThings'

I would like to call service of a `ThingTemplate` on the concrete thing.

I grab all `things` to grid with service `GetImplementingThings`.

Could you suggest me algorithm how can I call 'SomeConcreteMethod'  on selected thing from grid?

Thanks in advance!

1 REPLY 1
dmoon
12-Amethyst
(To:srude)

If you are asking how to create a service to get children of concrete thing's template, use a script below in your service.

// template: INFOTABLE dataShape: "EntityList"
var template = me.GetThingTemplate();

// result: INFOTABLE dataShape: RootEntityList
var result = ThingTemplates[template.name].GetImplementingThings();

Announcements


Top Tags