Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

make specific fields visible while selecting on list collector field serviceportal/servicenow

Prathamesh Cha1
Tera Contributor

Hi Team,

 

I have created one variable on record producer type is list collector, while user is selecting the product from products field following fields should be visible

 

PrathameshCha1_0-1723804399354.png

am I suppose to add something in variable attributes field?

 

 

I have written this but nothing is visible
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;life_cycle_stage;company;consumer_type
;spm_service_portfolio;short_description;model_id.ref_cmdb_service_product_model.x_payp2_ea_meta_customer_segment;model_id.ref_cmdb_service_product_model.x_payp2_ea_meta_business_segment;support_group;supported_by;managed_by;delivery_manager,ref_ac_columns_search=true

PrathameshCha1_1-1723804448772.png

 

Thanks

3 REPLIES 3

Community Alums
Not applicable

Hi @Prathamesh Cha1 ,

You might want to write a script include first and call it in the reference qualifier.

Something like : https://www.servicenow.com/community/developer-forum/setting-display-field-on-list-collector-in-serv...

 

Hi @Community Alums , 

Do I have to return fields that I want in string format from script include, cause I am hitting the max length while giving those name of fields directly in attributes, can you give me the reference of script include syntax for this and I should call that SI in attribute field cause I want to show those field's and I am not able to write all those fields because of max length can you give me reference of syntax. 

 

Thanks

Najmuddin Mohd
Mega Sage

Hi @Prathamesh Cha1 ,

Is this something that you are looking for ?

NajmuddinMohd_0-1723813235578.png


Regards,
Najmuddin.