Does anyone know if it's possible to expose a reference field variable on a public Service Portal page?

Angelo Surian
Tera Expert

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.

1 ACCEPTED SOLUTION

Angelo Surian
Tera Expert

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.

find_real_file.png

 

View solution in original post

19 REPLIES 19

Jaspal Singh
Mega Patron
Mega Patron

Hi Angelo,

 

Haven't come across such scenario but I guess we can by modifying the ACL to include role snc_external

Thx for your quick response Jaspal but that doesn't work. The use case is a record producer we're exposing to unauthenticated users on an SP site. They fill out the questionnaire and submit whwre it then creates a record in a custom table. Pretty straight forward.

Problem is when I try to add reference variables to the record producer. The unauthenticated user can't make selections in the reference field. It says "No matches found"

The reference field points to the sys_user table as I need the unauthenticated user to select a user from that table.

I've tried read ACLs with public and snc_external roles to no avail. I even tried assigning public and snc_external role to the guest account. Still no good.

Hopefully someone out there can tell me if this is even possible.

Hi Angelo,

 

Did you find any solution, I am facing the same issue.

 

Thanks

Hi Jaspal, if you would, please also mark as correct answer if this works for you. Much appreciated.