How to get AJAXtableCompleter script include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 06:43 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 06:57 AM
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
Dictionary Attributes
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 07:02 AM - edited 05-05-2025 07:30 AM
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.
Regards,
Abhijit
ServiceNow MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 07:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 12:43 AM
@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.
Regards,
Abhijit
ServiceNow MVP