customising reference field within Service Portal view

nathantenaglia
Tera Expert

Hi all,

We've got a reference type within a form that provides a list of users from our sys_user table.

When accessing this field via the Service Portal, it's a simple clickable drop down as you can see below.

find_real_file.png

The issue I have, and I'm sure others too, is that it only displays a list of names. When there are multiple (duplicate) names like I've selected, it's impossible to know who is who and users are sometimes selecting the wrong person. This has become a pretty big issue for us.

Does anyone know how to customise this field so it can display multiple information within the drop down to differentiate users such as email address, etc. as well as the current display name? This has to be applicable within the Service Portal view, however.

1 ACCEPTED SOLUTION

Ivano B
ServiceNow Employee
ServiceNow Employee

Hi Nathan



Ok now is clear..my bed I thought about something custom.


You were working on a record producer..a variable. Right ?


You need just to set the this field



User___ServiceNow.png



Here's the result in the service catalog.



Customer_Service_Portal_-_Service_Catalog.png



Probably this is the answer you were looking for


View solution in original post

8 REPLIES 8

Ivano B
ServiceNow Employee
ServiceNow Employee

Hi Nathan



Ok now is clear..my bed I thought about something custom.


You were working on a record producer..a variable. Right ?


You need just to set the this field



User___ServiceNow.png



Here's the result in the service catalog.



Customer_Service_Portal_-_Service_Catalog.png



Probably this is the answer you were looking for


Thank you very much. That's perfect. I've marked this as the correct answer.



As an aside, is it possible to display multiple values rather than just email? For example, it would be good to display email and department.


Hi Nathan



If i'm not wrong it should be possible. Just concatenate more than one field.


ref_auto_completer=AJAXTableCompleter,ref_ac_columns=email;department,ref_ac_columns_search=true,ref_ac_order_by=name


Please also refer to this article on the wiki,


http://wiki.servicenow.com/index.php?title=Auto-Complete_for_Reference_Fields#gsc.tab=0


Rani11
Tera Expert

how to accommodate the same change in service portal widget instead of variable attribute changes.

 

Because in my case its the field which is common to all the items. So i cant go and customize in specific variable. Can anyone help me.

And also the field is like list collecter type.I meant multiple users they can select.