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

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

isalem
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

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

Yes you can define Visibility at object level.

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

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

Hi Indira Salem​,

As Carles mentioned; its possible.

Refer to following link for more details: Visibility in Organizations

Thanks,

Ankit Gupta

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

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.

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

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 )
Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.