The CreatorCon Call for Content is officially open! Get started here.

Displaying the display value instead of sys_id for reference variables in request items

Kristian Johns3
Tera Expert

We have a catalog item that creates a request item uses two variables that refer to extended cmdb table fields. In the request item, the variables are displaying as sys_ids. Is there any way to display the display value? Setting the field's display value to true has no effect.

find_real_file.png

1 ACCEPTED SOLUTION

Kristian Johns3
Tera Expert

I found that this was actually an artifact of domain separation. When the catalog item is invoked from the global domain, the display value is not displayed, only the sys_id is displayed. When the catalog item is invoked from a top level domain, the reference fields display the display value as expected. I'm not sure why this occurs, however, but as the end user will be invoking from a top level domain, it's not an issue.

View solution in original post

10 REPLIES 10

SanjivMeher
Kilo Patron
Kilo Patron

You must be using Lookup variables. In the variable, set Label as name of the data center or room. and value should be sys id.

 


Please mark this response as correct or helpful if it assisted you with your question.

Yes, it's a lookup select box, however setting the Lookup Label Field to name doesn't have any effect. It already is configured as you describe.

Thank you sooo much:)

 

Johnnie O_
Kilo Guru

For a lookup select box on the Type Specifications tab you need to set the Lookup Value Field to the display field you want.

find_real_file.png

 

Additionally you can set add field name to the 'lookup label fields' property to display additional fields if needed.