Right-click context menu and magnifying glass lookup not working on some formsIssue The right-click context menu and magnifying glass lookup do not work on some forms, including Incident, Problem, and Change, when the active flag is set to true. The browser console shows an uncaught reference error. The issue does not occur when the form is in a closed state. Symptoms - Right-click context menu does not appear on Incident, Problem, or Change forms- Magnifying glass lookup does not work on affected forms- Issue occurs only when the active flag is set to true- Browser debug console shows an uncaught reference error Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All ReleasesCause A custom UI Action named Import CI causes an uncaught reference error in the browser console, which breaks the form. The UI Action script calls `sn_impex.GlideExcelParser()`, a scoped server-side method. Because the UI Action has the **Client** field checked, it runs as a client-side script only, which generates the error. The issue appears only when the form is active because the UI Action is not present when the state is closed. Resolution To resolve this issue, deactivate the Import CI UI Action, or clear the **Client** field on the UI Action record depending on whether the UI Action is still needed on the form. 1. Navigate to the UI Actions list.2. Search for and open the UI Action record named **Import CI**.3. To stop the error while keeping the UI Action, clear the **Client** field on the record.4. To remove the UI Action from the form entirely, set the **Active** field to false to deactivate the record.5. Select **Save** or **Update** to apply the changes.6. Reload the affected form and confirm the right-click context menu and magnifying glass lookup work correctly. If the issue persists after modifying the Import CI UI Action, the problem may also be caused by another recently added or incorrectly configured UI Policy, Client Script, UI Script, or UI Macro. To isolate the cause, create a new view of the form with limited fields. If the context menu works in the new view, add fields back one at a time to identify the offending field. If the context menu fails even in the new view, review and disable recently added client-side or server-side scripts one at a time to find the culprit. Related Links - [GlideExcelParser API reference — Scoped and Global](https://developer.servicenow.com/dev.do#!/reference/api/orlando/server/sn_impex-namespace/GlideExcelParserScopedAPI%23GEPS-GlideExcelParser) - [Context menu not working and reference fields not working — Support and Troubleshooting — Now Support Portal](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0814658)- [Related lists do not load and right-click context menu not working: Uncaught TypeError property of null — Support and Troubleshooting — Now Support Portal](https://support.servicenow.com/kb/kb?id=kb_article_view&sysparm_article=KB0724388)