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

Issue regarding System User Visibility to Thing template.

SOLVED
Highlighted
Participant

Issue regarding System User Visibility to Thing template.

I am facing an issue where I applied Organization containing the System User Visibility permission to a Thing template which is inheriting Generic Thing. I am still getting the error that template does not exists.

 

Is System User visibility does not work with the Thing Templates?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Issue regarding System User Visibility to Thing template.

Hi,

 

It is necessary to give permissions for your user to Template/s also.

You can use Collection Things/Templates and give visibility to all of the entities, after you can restrict access with Design Time and Run Time permissions.

 

Hope it helps,

Raluca Edu

View solution in original post

4 REPLIES 4

Re: Issue regarding System User Visibility to Thing template.

Hi,

 

Please can you explain the context? And what Thingworx version you are using?

 

Thank you,

Raluca Edu

Re: Issue regarding System User Visibility to Thing template.

Hi Raluca ,

 

I am using Thingworx 8.5.0-b12.

 

Below is the sample service code which I am tying to execute:

 

var thingParams = {
        name: "TestThing",
        description: "test thing",
        thingTemplateName: "Thing Template Name"
};

Resources["EntityServices"].CreateThing(thingParams);

 

Getting below error even if I give Visibility permission to System User for this template.

          Thing Template ["Thing Template Name"] does not exist.

 

If I give visibility permission for the thing template to the user who is accessing this API, then error does not appear. 

 

Thanks,

Harpreet

Re: Issue regarding System User Visibility to Thing template.

Hi,

 

It is necessary to give permissions for your user to Template/s also.

You can use Collection Things/Templates and give visibility to all of the entities, after you can restrict access with Design Time and Run Time permissions.

 

Hope it helps,

Raluca Edu

View solution in original post

Re: Issue regarding System User Visibility to Thing template.

Hi Raluca,

 

This make sense. I have to give permission for user to template and it worked.

Thanks for your help.

 

Regards,

Harpreet

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________