- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2020 02:45 AM
Hi Experts,
var url = gs.action.getGlideURI().toString();
gs.addInfoMessage(typeof url);
The above code is not converting the 'url' to string.
In gs.addInfoMessage the type shows as object.
anyway I can convert this to string ?
Thanks
Kevin
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2020 02:49 AM
Hi
Can you try this?
var url = gs.action.getGlideURI();
var stringType = String(url);
gs.addInfoMessage(typeof stringType);
Hope this helps.
Regards
Omkar Mone
2020 Community MVP.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2020 02:49 AM
Hi
Can you try this?
var url = gs.action.getGlideURI();
var stringType = String(url);
gs.addInfoMessage(typeof stringType);
Hope this helps.
Regards
Omkar Mone
2020 Community MVP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2020 03:03 AM
Thanks Mate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2020 10:05 PM
This is not supporting in Scoped application.
How can we handle this situation.
Regards,
Sangeetha