Input Form Screen - Reference Fields

adam_katulak
Tera Contributor

Hi, 

I have a requirement to add a reference field to my input form screen but I need to be able to filter/search by more than just the display value of the referenced table.  Is there a way to accomplish this?

Additionally, this table contains thousands of records, and the search does not appear to be looking across the entire table.

For example, my display value of the table is a numeric indicator (100211).  I need to be able to specify a Manufacturer (i.e., Dell), a Model Name (i.e., Inspiron) and potentially another column or two that will apply to my search query.

4 REPLIES 4

Vishnu Prasad K
Giga Guru

Hi Adam,

 

Go to the field dictionary and then add the below attribute

ref_ac_columns_search=true,ref_ac_columns=(field names separated by commas)

adam_katulak
Tera Contributor

Hi Vishnu,

I believe your method only works in platform, and does not apply to the Mobile Agent interface correct?  My use-case is for the Mobile Agent within an Input Form Screen https://docs.servicenow.com/bundle/sandiego-mobile/page/administer/tablet-mobile-ui/reference/parameter-screen-var-attr.html

 

Rameswar1
ServiceNow Employee
ServiceNow Employee

Hi Adam, unfortunately, there is currently no way you can configure this. Please see the community post link below where I have shared more details around this. Thanks!

Additional columns in Mobile Agent reference fields

Simon Midtvedt
Tera Guru

For anyone looking for updated information on this:

It is now possible to get multiple columns for a reference field using a mobile card and the input attribute "MobileViewId": How to show multiple column for a Reference Field on Mobile App - Support and Troubleshooting (servi...

 

Simon