Auto-Populate a label instead of a value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 08:49 AM
Hi, all
Today, I am working with the "Auto-populate" tab while creating a variable. I am using this feature to reference a field on my sys_user table, User Type. This is working as intended, with one exception. When the field is auto-populated on my catalog item, it is displaying the value of the called item rather than the label. What I need visible to the end user is the label. Is there a way to alter which of these is called?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 08:09 PM
Hi @IanH56261521172
This is the expected behavior. I suspect that the User Type variable is a single-line text type variable, which is why it shows the value instead of the label. To resolve this, change the type of the variable to "Select box" and create dropdown values with the same values and labels from the sys_user table's User Type field.
Catalog variable:
Actual field from sys_user table:
Output:
Hope this helps.
Regards,
Siva