- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2023 07:41 AM
Hello,
I'm having an item variable that needs to be hidden on Catalog form, RITM and SCTASK levels but displayed under the tab of Addition Details in Portal. However, its visibility is controlled by the value of another variable.
Is there any suggestion to achieve this behavior?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2023 09:53 AM
Hi @Hao Vi Mac
I'm having an item variable that needs to be hidden on Catalog form
Atul: You mean, on portal or native view REQ?
RITM and SCTASK levels but displayed under the tab of Addition Details in Portal.
Atul: Yes, via UI policy.
To show in additional Details:
https://INSTANCENMAE.service-now.com/now/nav/ui/classic/params/target/ticket_tab_configuration.do%3Fsys_id%3D1725d9ed87230010e0ef0cf888cb0ba3%26sysparm_record_rows%3D3%26sysparm_record_scope%3Dc9f1df5787f50010e0ef0cf888cb0b2c%26sysparm_record_target%3Dticket_tab_configuration%26sysparm_record_list%3Dparent%253D6752a2a387f10010e0ef0cf888cb0b76%255EORDERBYorder%26sysparm_nostack%3Dtrue%26sysparm_record_row%3D3
https://INSTANCENMAE.service-now.com/now/nav/ui/classic/params/target/ticket_configuration.do%3Fsys_id%3D6752a2a387f10010e0ef0cf888cb0b76%26sysparm_record_target%3Dticket_configuration%26sysparm_record_row%3D6%26sysparm_record_rows%3D10%26sysparm_record_list%3Dactive%253Dtrue
However, its visibility is controlled by the value of another variable.
Atul: Via UI policy
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2023 03:07 AM
Hi Atul,
Thanks for your response.
The variable will be hidden on all form levels, which means RITM/SCTASK/Catalog form via Portal and Native.
I believe the variable visibility via UI Policy will not work on the Ticket Page/Approval Page. The reason why the variable needs to be shown on this page because the approver will do their action based on the variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2023 07:39 AM
HI @Hao Vi Mac
Yes UI policy work when field/variable on the form not hidden. In your case need to write a script.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2023 09:02 AM
Hi Atul,
What kind of script you are referring to?
Besides, there are some variable types are not able to display on the summarize view (on Portal) as well.