Can we expose a reference field on a public portal page for unauthenticated users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2024 10:42 PM - edited 03-30-2024 10:49 PM
Hi everyone,
I have a public page & widget for a specific portal, the purpose is to create a landing page for incident creation without the needto login to the system.
Can we grant read access to the table in this case? for example a reference field to sys_choice for incident categories.
I tried to create a new ACL's , the first was to the sys_choice table with none with read operation and requires the public role and the second was the sys_choice table with "*" and requires the public role
I also tried to point the reference feld to a new custom table with the same roles and acl's.
this is the console error
Failed to load resource: the server responded with a status of 401 (Unauthorized)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2024 12:08 AM
Hi @Tzach Benbenist ,
Have you configured the reference field with sys_choice
please check if this helps!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2024 03:17 AM
Hi,
There is no table in this case, the ref field is written on the widget directly.
For example:
<sn-record-picker placeholder="" field="category" table="'sys_choice'" display-field="'label'" display-fields="'label,hint'" value-field="'sys_id'" search-fields="'label'" page-size="100" default-query="'name=incident^element=category^inactive=false'"></sn-record-picker>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2024 12:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2024 03:14 AM
Hi,
This is a public tablet on the IT site, and the whole process should be quick.