---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# JavaScript API Context-sensitive help

# JavaScript API Context-sensitive help {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The syntax editor can display context-sensitive API information.  
JavaScript API Context-sensitive help includes the ability to:

* List script elements that are valid at the cursor's location. The system displays suggestions in a pop-up window.
* Add a selected script element at the cursor's location. If the cursor is within or adjacent to a partial entry, the system completes the entry with the selected script element.
* View API documentation for a selected suggestion.
* View the expected parameters and format of the current script element.
{#c_ScriptingAssistance__ul_v33_3gv_cs}  
If the cursor is adjacent to a text string, the system searches for script elements that start with this text string. For example, while the cursor is within or adjacent to the string <kbd class="ph userinput">GlideR</kbd>, the system displays script elements such as:

* GlideRecord
* GlideRecordSecure
{#c_ScriptingAssistance__ul_grj_l3v_cs}

Context-sensitive suggestions are based on script type. For example, when working on a business
rule, only suggestions from the server API and for objects such as current
and previous display. When working on a client script, the system only
displays suggestions from the client API.

