How to get AJAXtableCompleter script include

Southsayer
Tera Expert

Hi guys,

I was trying to find AjaxTableCompleter script include which is required in field attributes 

I cannot see it in the table. 

how can I get it?

maybe this is the reason, I am unable to use field attributes functionalities.

5 REPLIES 5

Chaitanya ILCR
Kilo Patron

Hi @Southsayer ,

that's not a script include that's script on client side 

https://YOURINSTANCENAME.service-now.com/scripts/classes/ajax/AJAXTableCompleter.js

 

what's your use case or issue that you are facing?

 

you just need to know what is what and when and where to use it 

you can refer below docs for the same

service catalog variable attributes

https://www.servicenow.com/docs/bundle/washingtondc-servicenow-platform/page/product/service-catalog...

 

Dictionary Attributes

https://www.servicenow.com/docs/bundle/vancouver-platform-administration/page/administer/reference-p...

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Abhijit4
Mega Sage

Hi @Southsayer 

 

Could you please elaborate your issue, let's see if I can help you further. One of the common issue this functionality doesn't work is when user do not have read access to referenced table.

 

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

I am unable to fetch desired columns, I have set the display value of the table to portfolios so all fields that are referecning my tables are only showing Portfolio column in dropdowns. I want budget column in budget code dropdown, similarly for portfolios, project code, project ids

 

@Southsayer Changing attribute something like below should work, add your column names in ref_ac_columns:

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=first_name;email

 

Also make sure that you write this code to dictionary override entry that you have for your table for that specific field.

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP