- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 03:55 AM
You can use UI policy for this , also it will not overcome the empty spaces. It is by design.
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
01-30-2024 04:02 AM
Hi @Dr Atul G- LNG ,
Checked with Ui Policies also but not able to clear the space. As you it is OOB, can't we achieve this by any chance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 04:08 AM
UI policy i mentioned to avoid client script. There is no way to overcome this space, as we are hiding attribute not removing so it will be still there.
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
01-30-2024 04:25 AM
Hi @Hemanth Naik ,
Ideally setDisplay removes the gap , any chance some other logic is also implemented on the same field and it might be conflicting with the script, also check the UI type of the script.
I tried your script in my PDI and it is working totally fine.
Please mark my response correct/helpful if it helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 04:46 AM
@Anubhav24 , Thanks for replying
As, i checked it worked only when fields are in same section, if you checked with condition of other section fields can you please add screenshots, As you said i checked those fields they don't have any conflicting scripts.