- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 07:20 PM
Hi,
I have a custom table . Let's say it has a name field and a description field.
When user search on service portal for a name, I would like the description to show next to the name .
For example as per screenshot below.
Thanks in advanced
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 09:28 PM
Hello Freddy,
Please check by also including [ref_auto_complete] attribute in [Variable attributes] field
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=description;primary_contact
Regards,
Mahendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 07:53 PM
Hello Freddy,
If you are using the Reference field on Catalog item then you can use [ref_ac_columns] attribute in [Variable attributes] field on your catalog variable (like ref_ac_columns=user_name;email;sys_created_on) and like the [description] field.
Regards,
Mahendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 09:19 PM
Hi Mahendra, thanks for responding.
It's a reference field.
I have a custom table with
- u_role = single line text field
- u_description = single line text field
- u_role_owner = reference field to user
On catalog item, it is a reference field . Then I added variable attribute with
ref_ac_columns=u_description;u_role_owner
but still doesn't work, do you happen to know why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 09:28 PM
Hello Freddy,
Please check by also including [ref_auto_complete] attribute in [Variable attributes] field
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=description;primary_contact
Regards,
Mahendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 09:47 PM
Hello Mahendra,
still not good.
It seems to be working if referencing to sys_user table (ref_ac_columns=)
I raised a case with ServiceNow to see what the say.
Kind regards,
Fred