How do I get List Collector to use AJAXTableCompleter

samfindlay1
Giga Expert

Take the Caller field on the Incident table for example:

find_real_file.png

Any partial match of a string returns a result, this is not the default functionality for List Collectors on the Service Catalog, for example..

Searching from start of a string returns a match

find_real_file.png

But a partial match does not return a result

find_real_file.png

How can I apply the logic of dictionary attribute AJAXTableCompleter to a List Collector variable in the Service Catalog?

1 ACCEPTED SOLUTION

I Michael.


Yes I did find a solution. I actually raised a ticket on HI and their response helped me resolve the issue.



Here is the solution from HI Support if anyone else has this issue:


Please do the following:


1. Log in as Admin and go to Dictionary Module


2. On list view filter on table =[table of reference name here. For me it was 'u_application']


3. On List view filter on type = Collection


4. You should have one record there - got to attributes column and double click to edit and add this attribute "ref_auto_completer=AJAXTableCompleter" (without the double quotes) then save it.


5. Got to User Preferences Module - filter on Name = sys_user.autocomplete.contains


6. Open the record and replace Name with "[table of reference name here. For me it was 'u_application'].autocomplete.contains" and then click "insert" or "insert and stay".



Regardless, thanks for reaching out Michael.


View solution in original post

8 REPLIES 8

Hi,



For me to proposed solution also not working in Service Portal.



Any other options to solve this?


Hi,



Sorry, the proposed solution is working well   but - you must logout and login again.


Good Morning,

I'm trying to get this to work on Service Portal with a list collector, wondering if I am choosing the wrong table to add the "Reference auto completer" attribute too. Do you remember which table you choose to use with a catalog item?

Kind Regards

Ashley

Murali2
Kilo Contributor

no Michael Fry