Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
When I run Resources["ContentLoaderFunctions"].GetJSON(params) when I logged in as a developer, the data is returned.
When the user on the floor logs in and runs the page then get an error [content loader functions] does not exist].
Why does it exist for me as the developer and now for the user on the floor?
Thanks
Solved! Go to Solution.
Like jensc mentioned last you need to add visibility permission to the entity (which only works with organization(units)). Or what Sharon mentioned if you don't want to allow the user itself, you can do it via System user.
Hello,
Have you made sure that the user has the correct permissions to use the service?
Go to the "ContentLoaderFunctions" resource and hit the "permissions" tab and check under runtime:
Here your user or their group should have access.
You could also give them access to everything like this:
But I wouldn't recommend it.
You might also give them visibility permissions through an organization.
Regards,
Jens
Thanks for the reply. I have added the user group with this user to the permissions and allowed service execute and still does not display to the user.
Hi @johnalo.
Did you add visibility to the organization as Jens recommended? You can also configure it to run under the System user if you don't want to assign permissions to the users. There are a number of resources that may be helpful. Here are a couple:
Regards.
--Sharon
Like jensc mentioned last you need to add visibility permission to the entity (which only works with organization(units)). Or what Sharon mentioned if you don't want to allow the user itself, you can do it via System user.