gs.action.getGlideURI() or gs.action.getGlideURI().toString() both are returning null
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 04:36 AM
Hi All,
I am trying to get user URL from Script Action on 'login' event, using below code but it is returning as null. The same code works in background script though. Any pointers on what is missing?
var url = gs.action.getGlideURI();
gs.log('URL:'+url);
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 12:42 AM
I don't see any sensible way to do this.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.