Issue with spaces in list view and form view

Suggy
Giga Sage

I have a record where there are 2 spaces between the words. In form view when I copy paste into note pad, 2 spaces are clearly seen.

But same record in list view is removing the extra space in between. 

Is that expected behavior in ServiceNow? Any solution for this? we have several such records.

space issue.png

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Suggy 

I am able to replicate this on incident table. Seems like a platform bug.

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

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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Suggy 

It is bug, it is showing single space in list view. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@Suggy 

On further debugging I found that in XML of that record it stores with only 1 space and that's the reason it shows 1 space in list view but there are 2 actually when you edit that field from list.

 

AnkurBawiskar_0-1737633157128.png

 

But on form it has 2 spaces

Seems the way how it's displayed in the UI of ServiceNow, it's not considering the extra spaces while displaying in list.

It always considers more than 1 space as 1 space character.

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

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