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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Assigning and deleting permissions to Thingworx entities at object level using services

isalem
1-Newbie

Assigning and deleting permissions to Thingworx entities at object level using services

Hi All,

Is it possible to assign visibility permissions at object level in Thingworx? I mean, to each individual mashup/thing/thing template etc.?

Also, can we delete run time permissions which are already there to each individual mashup/thing/thing template etc.?

Appreciate your responses in this regard as soon as possible.

Thanks in advance.Developer Community​@

4 REPLIES 4

Yes you can define Visibility at object level.

Yes you can delete run time permissions which are already there.

ankigupta
5-Regular Member
(To:isalem)

Hi Indira Salem​,

As Carles mentioned; its possible.

Refer to following link for more details: Visibility in Organizations

Thanks,

Ankit Gupta

isalem
1-Newbie
(To:isalem)

Thanks for your responses Carles and Ankit. But I want those permissions to be assigned and deleted using services. I mean can you please share me the code for assigning visibility permissions at object level and deleting the already existing run time permissions at object level?

Thanks in advance.

You should look at Code Snippets or "Me" section on Mashup Thing / ThingShape/ ThingTemplate service code editor, services like:

  • me.AddVisibilityPermission
  • me.DeleteVisibilityPermission
  • me.AddRunTimePermission
  • ... ( just search on "me" tab for permission )
  • ... ( just search on "Snippets" tab for permission )
Top Tags