64 views

Description

A script error on line 30 of the Export Set UI Context Menu record prevents the record from being updated. When loading the record, the following error appears at the top of the form:

Fix the Action script by using GlideURL to set the location

Steps to Reproduce

 

  1. Open the Export Set UI Context Menu record at this link: 

    /sys_ui_context_menu.do?sys_id=41a60a53471331004695d7527c9a7164
    (for example, http://<instancename>.service-now.com//sys_ui_context_menu.do?sys_id=41a60a53471331004695d7527c9a7164)

    Note that the following error appears at the top of the screen:

    Fix the Action script by using GlideURL to set the location

  2. Attempt to make a change on the record (for example, mark it inactive).

    Note that the following error appears at the top of the screen and the record is not saved:

    Fix the Action script by using GlideURL to set the location

Workaround

Changing Line 30 from:

getTopWindow().location.replace

to 

getTopWindow().location.replace.GlideURL

corrects the issue and allows the record to be updated.


Related Problem: PRB657712

Seen In

Geneva Patch 1
Geneva Patch 4

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-07-31 08:56:35
Published:2017-07-31