- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 09:22 PM
Hi All,
My requirement is to hide a field in "input section" on the form. I tried with UI policy but it is not working, is there any other way with form sections? any inputs please
In the above pic I need to hide "Service" field on Input Section how can i achieve that?
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 09:29 PM
Hi,
it's not a field.
It's a variable.
So you will require catalog UI policy.
If it's generated from record producer then create catalog UI policy which Applies on Target Record
If it's RITM form then create catalog UI policy which Applies on Requested Item
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 09:29 PM
Hi,
it's not a field.
It's a variable.
So you will require catalog UI policy.
If it's generated from record producer then create catalog UI policy which Applies on Target Record
If it's RITM form then create catalog UI policy which Applies on Requested Item
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 09:59 PM
Glad to know that my comment worked.
Please mark response helpful as well.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 09:45 PM
Hi you can create a UI policy with Applies on Target table checkbox to true or
with a onload client script with the below line
g_form.setVisible("variables.variablename",false); //variables.variablename for example variables.service
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 09:50 PM
Hi,
if you are creating record using the record producer.
Then go the catalog item use catalog UI Policy or catalog client script to hide the variable.
1. Try to get it through the Catalog UI policy and hide your variable.
2. You can create the catalog client script and use below script to hide variable.
g_form.setDisplay("variables.variablename",false);
Thanks,
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
