- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 01:31 AM
In the Service Portal, I have a page that's used to add records to a table. On the page is a widget which shows the form from a table and one of the fields in this table is a reference field.
When the user accesses the reference field (to select a value), only the "display=true" column of that referenced table is listed. I have tried adding the collection attribute "ref_ac_columns=column1;column2" but this hasn't made any difference.
Can anyone advise how I can achieve this functionality?
Solved! Go to Solution.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 01:42 AM
try this
replace your field in highlighted
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=email,ref_ac_order_by=name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 01:42 AM
try this
replace your field in highlighted
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=email,ref_ac_order_by=name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 02:07 AM
Thanks for the info. Unfortunately that doesn't appear to have made any difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 03:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 07:53 AM
Hi. Can you confirm *where* you're setting this? I just want to make sure I'm putting it in the right place:
- Tables - navigate to referenced table
- Show list
- Right-click on referenced field and select Configure/Dictionary
- Select collection
- Select Advanced view
- In the attributes field, I have:
- ref_auto_completer=AJAXTableCompleter,ref_ac_columns=col1;col2,ref_ac_columns_search=true
Does that look right?
Also your "ref_ac_columns" value only shows one column but your screenshot is displaying two 😕