
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2022 09:34 AM
Hi,
How to hide field on preview icon open record . I used ui policy so it was hidden on form but how to hide on open record preview. Can anyone help me on this please.
Thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2022 09:42 AM
Create a new view with name "sys_popup"
and configure form layout for that reference field table.
Below article should help:
https://servicenowguru.com/scripting/client-scripts-scripting/javascript-popup-boxes-servicenow/
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2022 09:42 AM
you would need to create a new "view" for the table in question. the new view would be called "sys_popup"
if your table doesn't a "sys_popup" it'll used the default view for the popup.
so you'll need to create a new view called "sys_popup" and only add the fields you want on this view.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2022 09:42 AM
Create a new view with name "sys_popup"
and configure form layout for that reference field table.
Below article should help:
https://servicenowguru.com/scripting/client-scripts-scripting/javascript-popup-boxes-servicenow/
Aman Kumar