Hi Jacek,
Maybe better you go with this service ( which should be faster than previous one 😞
var result = Resources["SearchFunctions"].SpotlightSearch({
maxItems: 1000000 ,
types: { items: ["Thing",
"ThingShape",
"ThingTemplate",
"DataShape",
"Network",
"ModelTagVocabulary",
"Mashup",
"Menu",
"MediaEntity",
"StyleDefinition",
"StateDefinition",
"DataTagVocabulary",
"Group",
"User",
"ApplicationKey",
"Resource",
"Organization",
"Dashboard"
]},
aspects: { isSystemObject: true },
maxSearchItems: 1000000
});
for each (row in result.rows) {
// -- Do Whatever the the row.name entity
}
Pai Chung Can you update this article https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS241962 with the above code, I think it's better.
Best Regards,
Carles