Variable only visible on RITM level not on the portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 12:58 AM
I have a field Configuration Item which is a reference field. In Configuration Item there is a filed IT Responsible.
I want this IT responsible field to be visible in the RITM level form only, not in the portal view.
I tried to write a onLoad Client script as follows, but it did not work
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setDisplay('cmdb_ci.managed_by',false);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 01:07 AM
This cannot be done via UI policy or client script. You need to configure sys_pop_up view for the configuration item table. Below thread will help you to do that.
https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/administer/navigation_and_ui/task/t_CreateAView.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 01:32 AM
The link does not opens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 03:13 AM
Try this
https://snprotips.com/blog/2016/1/19/using-syspopup-view-to-customize-flyoutpopup-info-on-reference-fields