- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi there,
I have a field "Enterprise Application ID" with type "Name Value pair". Is it possible to make name part as dropdown? I tried to achieve it in my PDI but its not working. Is it feasible to achieve? if yes then how? If not, is there any way to customize this field?
Thanks!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Narayan K ,
The Name-Value Pair field type in ServiceNow is a specialized composite field. Out of the box:
The Name part is just a free-text string.
The Value part can be string, integer, reference, etc. depending on how it’s configured.
It doesn’t support a dropdown list for the “Name” portion directly.
Is it feasible to make “Name” a dropdown?
Not directly with the stock Name-Value Pair field type. That field type is fixed in its rendering and doesn’t have dictionary options for making the “Name” part reference or choice-based.
Recommended Approach: Use two separate fields instead of Name-Value Pair
Create a Choice field (dropdown) for your “Name” options.
Create another field for “Value” (string, integer, reference, whatever you need).
Group them on the form (or use a UI Macro/UI Component to display them side by side if you want the same “pair” look).
This is maintainable, works with reporting, and avoids OOTB hacks.
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
not possible.
It's OOTB behavior.
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
3 weeks ago
Hi @Narayan K
Create a custom table or multi-row variable set with :
"Name" as a dropdown (choice field)
"Value" as a text or other input
That is the best way to control dropdown options for "Name"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
not possible.
It's OOTB behavior.
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
3 weeks ago
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