How do I add data for the autocomplete to recognize in a script column?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2024 09:54 AM
I created a script column.
I would like to add a set of objects that the autocomplete should suggest if the user is typing like shown below
is that possible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2024 12:06 PM
Hello @juan9
@not sure if this is what you are looking for..
But have you tried Syntax macros.?
They are used for auto completing commonly used code.
please refer the below doc:
Please mark the answer as helpful and correct if helped.
Kind Regards,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2024 01:26 PM
its close but not what I am looking for I think.
its the editors suggestions that need to be adapted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2024 01:41 PM
The OOB script auto complete only completes below items and this cannot be done for custom scripts.
- Class names
- Function names
- Object names
- Variable names
I think this happens at ServiceNow Code layer level, there's no table) configuration from where we can add out custom code auto complete.
Please mark the answer as helpful and correct if helped.
Kind Regards,
Ravi