- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 10:37 PM
Hi All,
Please provide the detailed steps or documentation where I can look how to debug the UI Policy in Next UI (Sandiego Version).
Thanks,
Raghu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 01:11 AM
Hi @Community Alums ,
This is officialy documented that Field watcher and Javascript debug window is not supported with Next Experience in Sandiago and onwards.
You can debug UI policies using below method:
1. Open module debug UI policies
2. Now open the form that you want to debug. right click on the form and open inspect option
3. In the console, you will see all the UI policies working on your form and what changes it is doing to which field.
4. Once you are done with your testing, open stop debugging module and it will close the debugging
I hope this helps.
Please hit helpful if this helps and Accept if this solves your issue.
Regards,
Kamlesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Umm.. ok, this works, thank you... however...
What am I supposed to do with that info?
Gee whiz ServiceNow, thank you so much for telling me "GlideFieldPolicy: Setting "disabled" to "true" on "visible_summary" field". Sure would be nice to know WHAT ui policy is applying it though!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
On my own testing (no thanks to any debug logs), I figured out that
GlideFieldPolicy: Setting "disabled" to "true" on "visible_summary" fieldis being caused by the OOB Data Policy "visible on summaries readonly" (sys_data_policy2.do?sys_id=f8a41953c7610010d67edc8703c2609a)
and the
GlideFieldPolicy: Setting "visible" to "false" on "visible_summary" fieldis coming from the OOB UI Policy "Hide visible on summaries if type is HTML or RichText Label" (sys_ui_policy.do?sys_id=c432f0903703300054b6a3549dbe5def)
Again, would be nice if the debug log actually gave that info. ¯\_(ツ)_/¯