Non admin users who is not part of ComposerUsers group are not able to execute service in Thing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Non admin users who is not part of ComposerUsers group are not able to execute service in Thing
I wanted to provide runtime permission to non admin and non member of ComposerUsers group to view the mashup and able to run the application. I have created Organization, in that organization, I have added user group which consists of the user for whom the app should be visible and executable. So as per the article - https://www.ptc.com/en/support/article/CS341872 I have applied the required permissions. But for that user getting error as -
Solved! Go to Solution.
- Labels:
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
the error you receive is because of the user does not have Visibility for "InfoTableFunctions" (which offers the service throwing the error:
Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);
The error you resolve by providing Visibility for the user (or System user) for the entity. Does that already help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
the error you receive is because of the user does not have Visibility for "InfoTableFunctions" (which offers the service throwing the error:
Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);
The error you resolve by providing Visibility for the user (or System user) for the entity. Does that already help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks @nmutter It is working fine now. I have provided visibility and runtime permissions to InfotableFunctions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Perfect. FYI
- "Cannot call method "xxx" of null" always means visibility for an entitiy is missing (=the entity is 'null'), on which this service 'xxx' is called
- For runtime ServiceInvoke permissions it will tell you more clearly with thingname + servicename
![](/skins/images/695EE5AD3E567050FEDD72575855ED93/ptc_skin/images/icon_anonymous_message.png)