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

Michael Fry1
Kilo Patron

Sam . . . did you find your answer. Older post wasn't sure, if not I can show you how to make it work.


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.


I just found that exact way too for something I was working on and I remember you asked about it!



Thanks


Hi,


Does anyone know if this solution works on Istanbul?   I have the same need and did apply the steps listed above, but it is not working.



Thanks,


.ron