Reference field in catalog item to populate the selected value

Indira8
Kilo Sage

Hi All,

We have a catalog item in which a reference variable named 'Entitlement Name' refers to a custom table 'Entitlement Details'
When we click on the variable , displays list of  2 columns : 1. Entitlement ID (display is set as true in the custom table)  and 2. Entitlement name.
When I select any one 'Entitlement Name' then .instead of the name , the ID is populated in the variable. Could anyone help me to populate the 'Entitlement Name' itself on the variable rather than the ID. 

The Variable attribute I used to display the entitlement name in the reference search is as follows: 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns_search=true,ref_ac_columns=u_entitlement_name,ref_ac_display_value=false,ref_ac_order_by=u_entitlement_name

 

Thank you

1 ACCEPTED SOLUTION

DrewW
Mega Sage
Mega Sage

The only way to do this is to change the display column for the table.

View solution in original post

4 REPLIES 4

DrewW
Mega Sage
Mega Sage

The only way to do this is to change the display column for the table.

Hi @Drew can we make 2 fields on same table as Display true 

Thanks and Rgards

Hi Indira,

Please check display true for Entitlement name field and uncheck  display true for Entitlement ID field. This way Name will be displayed instead of ID, you can't have two fields with display value true.

Please hit like and mark my response as correct if that helps
Regards,
Musab

No you cannot.