Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I need to get a list of all the DataTables, Streams, ValueStreams, Blogs and Wikis that belong to a project. It seems the only service that can facilitate this is SpotlightSearch, which works perfect with the field thingShapes set as {items: ["DataTable"]}, but when trying to add another item in that array it returns nothing (meaning when we add {items: ["DataTable","Stream"]}), with no error.
So, is there a way to get all the entities of those types in a single call? It seems to be a bug, from what I looked at, but maybe I'm doing something wrong?
For reference, the other parameters I used in the calls were:
-searchExpression: *
-types: {items:["Thing"]}
Bit of a long shot, not sure what different iterations you've tried but.
{items: ["DataTable,Stream"]}
or even crazier
{items: ["'DataTable','Stream'"]}
Hello Vlad!
Just a dumb answer, you should be querying thingTemplates parameter instead ;)
Regards,
Carles.