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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

ThingWorx Entity Collection Types Full List

nahuel
14-Alexandrite

ThingWorx Entity Collection Types Full List

Hi, there!

 

Documentation only shows a partial list of available entity types and also a partial list of the available characteristic collection types.

Where can I find the full list of both, available entity types and available characteristic collection types?

 

Regards,

Nahuel

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @nahuel ,

 

There is a small mail icon on that documentation page that you can use to send feedback for that page.

I have used that icon many times in the past and it gets processed for sure, it's just not instantaneous.

I think your suggestion is a good one, and I suggest to send that feedback to complete that list.

 

In the mean time, I needed this in the past as well, and computed the following list, I tried my best to format it since it was based on my Javascript code:

 

case "Projects":
case "Things" (valid for "Wiki", "Blog", "ValueStream", "Stream", "DataTable", "IndustrialConnection", "IntegrationConnector")
case "ThingTemplates":
case "ThingShapes":
case "DataShapes":
case "ModelTags":
case "Networks":
case "Mashups" (valid for  "Master", "MashupTemplate", "Gadget")
case "Dashboards":
case "Menus":
case "MediaEntities":
case "StyleDefinitions":
case "StyleThemes":
case "StateDefinitions":
case "DataTags":
case "PersistenceProviders":
case "Groups":
case "Users":
case "Organizations":
case "ApplicationKeys":
case "DirectoryServices":
case "Authenticators":
case "LocalizationTables":
case "Resources":
case "Subsystems":

 

 

View solution in original post

4 REPLIES 4
jman87
14-Alexandrite
(To:nahuel)

Hi nahuel

 

I find below content, hope it is helpful for you:

​Below is a sample code snippet that gets a list of all entity types, iterates over one entity type and then iterates through all entities in that type checking for the isSystemObject aspect's value is set to true:
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 something with each row
}

 

 

Best Wishes!

Teresa

nahuel
14-Alexandrite
(To:jman87)

Hi Teresa, thanks for your reply.

 

But what I'm looking for are the same kind of tables that are found on the documentation link I added in my first post.

Above Entity Collection Types table you can find the following message "The entity types listed below is only a partial list of the available entity types." and above Characteristic Collection table you can find a similar message. Where can I find a both complete lists?

 

PD: I've checked API documentation but I couldn't get any out of it. I find it unfriendly.

 

 

 

 

Hi @nahuel ,

 

There is a small mail icon on that documentation page that you can use to send feedback for that page.

I have used that icon many times in the past and it gets processed for sure, it's just not instantaneous.

I think your suggestion is a good one, and I suggest to send that feedback to complete that list.

 

In the mean time, I needed this in the past as well, and computed the following list, I tried my best to format it since it was based on my Javascript code:

 

case "Projects":
case "Things" (valid for "Wiki", "Blog", "ValueStream", "Stream", "DataTable", "IndustrialConnection", "IntegrationConnector")
case "ThingTemplates":
case "ThingShapes":
case "DataShapes":
case "ModelTags":
case "Networks":
case "Mashups" (valid for  "Master", "MashupTemplate", "Gadget")
case "Dashboards":
case "Menus":
case "MediaEntities":
case "StyleDefinitions":
case "StyleThemes":
case "StateDefinitions":
case "DataTags":
case "PersistenceProviders":
case "Groups":
case "Users":
case "Organizations":
case "ApplicationKeys":
case "DirectoryServices":
case "Authenticators":
case "LocalizationTables":
case "Resources":
case "Subsystems":

 

 

nahuel
14-Alexandrite
(To:VladimirRosu)

Thank you @VladimirRosu !

 

I hope that documentation gets updated soon.

 

 

Top Tags