Skip to main content
4-Participant
Solved

Get Service Category

Hello,

 

for an administrative task, I need a service that returns the category of a service, or even a list of the categories of all the services of a thing in Thingworx 9.1 or 9.3. Does anyone have an idea how to make something like this happen?

Rocko
RockoAnswer
19-Tanzanite

Service Categories are not exposed via API. The only way would be getting it directly from the database, but this is 1) incomplete, 2) unsafe and 3) not supported. Categories are only meant to support interactive development.

2 replies

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite

Service Categories are not exposed via API. The only way would be getting it directly from the database, but this is 1) incomplete, 2) unsafe and 3) not supported. Categories are only meant to support interactive development.

Translate
4-Participant

Thanks for the quick reply. I'm reassured that it wasn't my fault that I didn't find anything.
Unfortunately, there is no such feature. It would avoid a lot of work and error on the part of the developers if you could set rights based on categories by means of a script.

Translate