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

Reference Variable Dropdown User ID only

TStark
Kilo Sage

Can anyone provide some insight on how I create a reference variable for a catalog item that allows the user to only select from the user id field. Right now, I'm able to create the reference variable to the user table but in the dropdown of the variable I see email address, first and last name. I just want to see user id. This is just for one variable of one catalog item and not all catalog items.

Thanks,
AJ

1 ACCEPTED SOLUTION

harun_isakovic
Mega Guru

Try a Lookup select box. You can configure it to show fields you want and also which underlying value of the filed you want retrieved if youre picking this fields value via script (ex. sys_id, or Name or something else).

Here is a link to the docs to explain fully.

https://docs.servicenow.com/en-US/bundle/sandiego-servicenow-platform/page/product/service-catalog-management/reference/r_VariableTypes.html#d257741e797

 

Please mark as helpful or correct answer if it indeed was 🙂

View solution in original post

2 REPLIES 2

harun_isakovic
Mega Guru

Try a Lookup select box. You can configure it to show fields you want and also which underlying value of the filed you want retrieved if youre picking this fields value via script (ex. sys_id, or Name or something else).

Here is a link to the docs to explain fully.

https://docs.servicenow.com/en-US/bundle/sandiego-servicenow-platform/page/product/service-catalog-management/reference/r_VariableTypes.html#d257741e797

 

Please mark as helpful or correct answer if it indeed was 🙂

Harish KM
Kilo Patron
Kilo Patron

Hi,

Use lookup select box variable for this. 

Refer here

https://docs.servicenow.com/en-US/bundle/sandiego-servicenow-platform/page/product/service-catalog-management/reference/r_VariableTypes.html#d257741e797

Regards
Harish