Issue with spaces in list view and form view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 03:19 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 03:46 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 03:51 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 03:51 AM - edited 01-23-2025 03:54 AM
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.
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader