ServiceNow UI Parameter - Search Fields Question

Michael H1
Tera Guru

Hi,

Is it possible to customize the search fields for a UI Parameter or have additional fields display in the search results? As an example, I am trying to implement a way to display a username for an individual that is searched when updating the user field on a record, which is a reference field to the user table.

We could have multiple people with the name "John Smith" and there is no easy way to distinguish which user is being selected in the mobile app. Although I see I can change the source field to reference the username directly on the user reference field, it does not display the username until after an individual is selected. It would be preferable to see the individual's name before selection. Or to be able to change the search criteria from the individual's name to the username.

Is there a simple way to customize the search fields or change what fields are displayed in the search results?

4 REPLIES 4

Michael H1
Tera Guru

I will add that setting attributes for the reference field to search columns by the user_name field has no affect on the search. It appears that attributes set in the Global scope to not carry over to the ITSM Mobile Agent scope, or at least in the mobile app view.

Even creating a custom script include and applying it to the Reference Qualifier has no affect on the username displaying alongside the name, even though this works in the Global scope without issue.

Michael H1
Tera Guru

I have attached a screenshot of what this looks like with some dummy records. Even getting the username to display in the search results would be helpful.

 

jason_myers
Tera Contributor

Hi Michael,

I am facing the same issue, did you ever find a resolution for this?

Hi Jason,

I never replied with the information I found, but it appears at this point in time it may not be possible:
https://www.servicenow.com/community/mobile-apps-platform-forum/additional-columns-in-mobile-agent-r...

Although this post is a little over a year old, it appears that attributes are not honored/carried over to the Agent Now Mobile Application at this time.

It looks like there may be a way to accomplish this with an Input form instead? However, I had already built out the additions to the Agent Now Mobile App and we were fine with putting this requirement on hold in the meantime. I am going to keep an eye out on this being a feature in future releases because it would be awesome if field attributes were honored/carried over to the Mobile App.