- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2020 09:55 AM
Hi everyone! Been pouring over community content and can't seem to find the answer to this. Before I go any further, does anyone know if it's possible to expose a reference field variable to unauthenticated users on a public Service Portal page?
Any guidance/solution would be appreciated. Thx.
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2020 05:00 PM
Ok so this thorn in my side has finally been removed. I hope that this helps others looking for a similar solution. Please mark as Helpful if it does.
Here are the requirements for exposing a service portal page with a record producer/catalog item with reference variables to unauthenticated users:
1) All Service Portal pages for the SP Portal you wish to expose must be set to Public = true
2) Any widgets that are part of this portal must be set to Public = true
3) The record producer / catalog item must have the "public" role added to Roles
4) All variables that are part of the record producer/catalog item must have "public" added to Read roles, Create roles, and Write roles permissions.
5) And for the most important one, if you wish to expose reference field variables, you will need to add a processor execute ACL called "SPListDataProcessor" There is already an OOB ACL for this that SP leverages but you can leave that one alone. Just add a new one with no required roles and nothing in the script field like this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2021 08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2021 08:48 AM
Maybe provide an image of your variable configuration for what you're detailing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2022 04:21 PM
Thank you so much, Angelo...would not have been able to get this to work otherwise.
Just one additional note: With Explicit Roles enabled, the system won't let you create an ACL without a role attached; it will keep trying to tack on "snc_internal". The workaround for us was to remove "snc_internal" and add in role "public" in its place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2023 09:34 AM
Thanks for this !!.. but not sure if ServiceNow allowed you to create the ACL without a role back in 2020. Now a days it does not allow so. However I got into the same situation and create a ACL for SPListDataProcessor with "public" role and it worked. BTW, for the audience who still gets into this situation, don't forget to add ACLs to your tables with "public" roles and make everything related to the record producer as public. Also, It is required to make the original SPListDataProcessor as Inactive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 10:37 AM
Hi,
Go to sys_public.LIST and create entry for user table.
But exposing user data to unauthenticated user is risky