g_scratchpad not available for List Action Client Script in CSM Workspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 03:45 AM
Hello,
I'm trying to use g_scratchpad in a client script for a List Action but I get: SCRIPT:EXEC Error while running Client Script "GlideScopedScript": ReferenceError: g_scratchpad is not defined
The Display BR is working when it saves to the scratchpad.
When you create a List Action (Action Assignment) and select "Implemented as: Client Script" is it not a "true" Client Script? g_scratchpad should be available for client scripts.
I need to be able to fetch the Sys ID of a Case in this client script in Workspace. I know there is a way using UXF Client Action and events but I'm hoping I don't have to go that route.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 01:46 AM
Another thing that is not working is like action.setReturnURL or action.setRedirectURL as there is a ReferenceError: action is not defined