- 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 09:57 PM
Mahendra, nevermind, it works haha....
It was my typo
I put
ref_auto_completer=AJAXTableCompleter;
Once I change to below, it works
ref_auto_completer=AJAXTableCompleter,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 07:55 PM
You can use ref_ac_columns attribute in your variable record to show multiple columns in options
ref_ac_columns -> Specifies the list of reference table columns to display. Separate column names with a semi-colon. For example, ref_ac_columns=user_name;email;sys_created_on allows auto-complete to match text from the user_name, email, and sys_created_on columns.
Try the below
ref_ac_columns=email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 09:20 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:37 PM
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_description;u_role_owner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 09:48 PM
HI,
Please use below in your Variable Attributes to get it working:
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_description,ref_ac_order_by=u_role_owner
This should work for you. let me know if you are facing an issue.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke