Location field dont want to display hierarchical Value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 03:30 AM
How to resolve this issue in servicenow -
There is one catalog item "Sotware request" in that there is one field "Office Location" pulled from the CMS Location table are deeply nested and often long
Currently, the dropdown does not handle these well — the values are cut off without line breaks, making them unreadable and unusable.
(e.g., "Global/Germany/Berlin/123456/Street").
is anyone know how to resolve this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 04:09 AM
Hi @may13
That's the expected behavior. I can see that you're using a 2-column layout, which is why you are not able to view the full name. As a workaround, place that field in a single-column layout. This will show you the full name. OR you can change the display field on the cmn_location table as "name" field. So that in the drop down you'll see the name of the location record instead of full name.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 04:30 AM
2 ways
1) you can use 1 column layout so that the variable takes entire row and then user can see the complete conten
OR
2) you can use another string variable of length 200/250 and then write onChange client script to query that record and get the complete name and put in the new string variable
OR
3) try to use Lookup select box and see if it shows the complete text (I doubt this might work)
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
04-24-2025 05:03 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader