Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Is there a way I can get a infotable of the enabled schedulers using GetEntities? What filters do I have to apply for that?
Solved! Go to Solution.
Use this code:
// result: INFOTABLE dataShape: "RootEntityList"
var t = ThingTemplates["Scheduler"].GetImplementingThingsWithData();
var query = {
filters: {
type: "EQ",
fieldName: "Enabled",
value: true
}
};
var params = {
t: t /* INFOTABLE */,
query: query /* QUERY */
};
// result: INFOTABLE
var result = Resources["InfoTableFunctions"].Query(params);
Use this code:
// result: INFOTABLE dataShape: "RootEntityList"
var t = ThingTemplates["Scheduler"].GetImplementingThingsWithData();
var query = {
filters: {
type: "EQ",
fieldName: "Enabled",
value: true
}
};
var params = {
t: t /* INFOTABLE */,
query: query /* QUERY */
};
// result: INFOTABLE
var result = Resources["InfoTableFunctions"].Query(params);
Thank you! It's perfect