Service Portal: Specify which View displays when clicking a reference field's "info" icon?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2016 06:49 AM
Greetings,
This is my first post in the community!
My question pertains to the Service Portal. I've tried searching the community for an answer but haven't been able to find anything that works.
In the Service Portal, when clicking the "i" icon next to a reference field, a widget opens to display record information.
This currently uses the default view and I haven't been able to find where to specify a different view, for example, the Self Service view.
I've already tried adding a "sys_popup" view using the Form Layout editor, which DOES update the popup in the old Service Catalog but has no effect in the Service Portal.
No change in Service Portal:
Any help would be greatly appreciated!
Best,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 10:42 PM
Hi Paul,
I added the script line but no luck .
The script in ACL looks like:
if(gs.getUserID() != current.sys_id)
answer = true;
else
answer = false;
I could still edit on Service Portal but not in native UI.
Regards,
Zabeeulla.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 10:58 PM
You might need to also create the ACL for ".*"
Is the save button there?
I used this technique on my instance and it works perfectly.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 11:01 PM
Hi Paul,
Yes there is a save button and related lists are present as well.
could you please suggest me how would i remove these and make the view readonly to users
Regards,
Zabeeulla.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 11:05 PM
Make sure you are impersonating an End User. Admin will always be able to edit the record (as long as admin override is ticked).
I recommend always having test persona accounts on hand.
Once the ACL's are configured, all fields will become read-only.
The form pulls the default view, so removing the related lists (or adding roles via list control) will get rid of those too.
Nothing required here other than ACLs:
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 11:27 PM
HI Paul,
So an ACL on sys_user.* would work?
how would i get that view on portal if i create any ?Is there any widget that i need to edit.
Regards,
Zabeeulla.