Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Collapsing Variable Formatter on RITM Form

monica_detani
Mega Sage

Hi team,

I have a variable formatter on the RITM form. Since the variable count is high and we're not using a variable set, is it possible to collapse the variable formatter and expand it on demand? Also, DOM manipulation is not an option, so I’m looking for an alternative approach.

2 ACCEPTED SOLUTIONS

@monica_detani 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

You can accept my answer as well @monica_detani , which serve the purpose.

****************************************************************************************
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
******************************************************************************************

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@monica_detani 

not possible without DOM manipulation.

Inform your customer that if they still want then you can use DOM but it's a risk and not a best practice.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@monica_detani 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Dr Atul - LNG
Tera Patron

Hi @monica_detani 

Did you ask the same question earlier, like whether you want the arrow pointing from > to down or vice versa? Out-of-the-box, there's no way to change it, and doing so would increase technical debt. DOM manipulation is an option, but it's not recommended unless there's a very valid business need.

****************************************************************************************
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
******************************************************************************************

You can accept my answer as well @monica_detani , which serve the purpose.

****************************************************************************************
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
******************************************************************************************