Skip to main content
Aug 13, 2020 1:19 PM UTC
Question

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

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.

10 replies

Aug 13, 2020 5:14 PM UTC

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?

ranjankAuthor
Aug 14, 2020 5:18 PM UTC

@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.

ranjankAuthor
Aug 17, 2020 9:21 AM UTC

@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.

Sep 14, 2020 8:39 PM UTC

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