- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2020 08:55 AM
Is there a way to add additional column data to the subject person / opened by reference fields in the 'Case Details' section of the Case Create UI page for the 'Create New Case' function in HRSD? (see screen shot)
My customer needs more detail to be able to accurately select the correct user. In some cases we have multiple same first / last named users and having an additional attribute displayed in the type ahead search results list (ie: employee #) would help tremendously (ie: 30 John Smiths to choose from).
It's nice that this is possible for the the initial subject person search via the Case Creation Configuration page but for the subsequent Case Details section after subject person is initially selected the 'subject person' and 'opened for' fields only bring back first and last name on the results list.
In the platform UI we can do this easily with the 'ref_ac_columns' and 'ref_ac_columns_search' attributes. We are looking for something similar here to bring in the employee # to discern from duplicate names.
We already are using a copied version of the case_creation OOB ui page so we have the ability to edit it just looking for someone who may have done this in the past successfully, if so how and/or some ideas on how to accomplish this.
Solved! Go to Solution.
- Labels:
-
Case and Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2020 10:17 AM
From Article on Case Creation Search:
"Additional attributes on reference search - In the hr_CaseCreation script include, an "attributes" property could be added to the fieldObject in addReferenceProperties to show some extra information for each record."
This could be adapted for the opened_for and subject_person fields. In your case, you could change the field condition from assigned_to to opened_for or subject_person, and change the "ref_ac_columns=email" to "ref_ac_columns=employee_number".
Please mark answers as helpful if they helped you, or correct if they answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2020 10:17 AM
From Article on Case Creation Search:
"Additional attributes on reference search - In the hr_CaseCreation script include, an "attributes" property could be added to the fieldObject in addReferenceProperties to show some extra information for each record."
This could be adapted for the opened_for and subject_person fields. In your case, you could change the field condition from assigned_to to opened_for or subject_person, and change the "ref_ac_columns=email" to "ref_ac_columns=employee_number".
Please mark answers as helpful if they helped you, or correct if they answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2020 01:49 PM
Thats the magic right there! Thank you my friend!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2020 04:11 AM
Hi
But for some reason its not working for employee_number. It works for User ID and Email but not for employee_number not sure why?
Here is my script:
if (fieldObject.column_name == 'opened_for' || fieldObject.column_name == 'subject_person') {
fieldObject.attributes = "ref_ac_columns=employee_number,ref_ac_order_by=name,ref_auto_completer=AJAXTableCompleter";
}
Please guide me if I am missing something here
Thanks,
Abhinandan