How do we add reference qualifier for list collector in catalog item.

shalinihorak
Tera Contributor

I have a list collector field in catalog item which is referencing the asset table called u_st_hsm. I have to populate fields on the list collector  based on another variable in the catalog item called location_2 . I also need to add another filter for the list collector to display values which have install_status.value!=3 or Install_status is not In Maintenance. How can we add reference qualifier for this.

 

the current reference qualifier is

javascript:'location.name='+current.variables.location_2;

 

variables attributes is

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;location,ref_ac_order_by=name,ref_ac_columns_search=true

I need to add filter on the list collector for asset table so that they do not display values with Install_status which have value 3 or In maintenance.

 

 

9 REPLIES 9

Nehal Dhuri
Mega Sage

Hello @shalinihorak ,
Please try following the ref qualifier:
javascript:'location.name='+current.variables.location_2+'^install_status.value!=3^install_status.value!=In maintenance';

replace actual value of In maintenance in ref qualifier

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

Nehal Dhuri
Mega Sage

make sure that you are using the value of 'In maintenance' in ref qualifier

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

what should we include in the variable attributes.

 

the current variables attributes is-

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;location,ref_ac_order_by=name,ref_ac_columns_search=true

ref_qual_elements=location_2

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