Skip to main content
1-Visitor
August 13, 2020
Question

At ThingWorx Composer level , can we make some services of any entity only executable?

  • August 13, 2020
  • 2 replies
  • 3485 views

Suppose, I want to make some services of any ThingShape/ThingTemplate/Thing only executable(i.e. without viewing of code and editable) for some users and rest can be editable to those users. (All should be done at ThingWorx Composer level)

 

In some entity I want all the services editable, in some partial editable and in some only executable.

 

How can we achieve this at any ThingWorx entity level.

 

Thanks in advance.

2 replies

22-Sapphire I
August 13, 2020

You could consider using the ability to give Override on services

Besides that it would boil down to permissions, except you can't secure individual services.

Ultimately a mix between items in shapes/templates vs. Things with a mix of overrides and permission settings might get you what you are looking for?

ranjank1-VisitorAuthor
1-Visitor
August 14, 2020

@PaiChung 

 

Could you please explain me the process with some screenshots of steps as I am unable to figure out exactly what you suggested. It would be easier for me to understand completely the solution you have.

 

My ThingWorx version is 8.3.13.

 

Thanks in advance.

ranjank1-VisitorAuthor
1-Visitor
August 17, 2020

@PaiChung ,

 

Let me tell you what I did till now:-

1) I have one testService in my thing "testThingNonEditable" (Screenshot1)

2) I have added one usergroup to runtime permission for Services in above thing, even after applying Deny to it the code is visible to the user of that and also it is not allowing to execute the service (I want users of a particular group would not be able to see code of this service but can execute.)

 

But as per screenshot2 he would be able to see the code of that service after login to composer.

 

Have added two screenshots for your reference.

 

Please help on this.

Community Manager
September 14, 2020

Hi @ranjank.

 

If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon