Issue regarding System User Visibility to Thing template.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
Solved! Go to Solution.
- Labels:
-
Design
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
Please can you explain the context? And what Thingworx version you are using?
Thank you,
Raluca Edu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Raluca,
This make sense. I have to give permission for user to template and it worked.
Thanks for your help.
Regards,
Harpreet