getch url parameter in scoped application on server side
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 03:21 AM
Can we fetch URL parameters in scoped application using server side scripting?
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 03:43 AM
Hi,
I don't think anything exist for this as of now
what is your requirement? you can get url parameter on client side in scoped app
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 04:26 AM
Hi,
You may find below thread helpful.
http://sncommander.com/how-to-get-parametersvalues-from-a-url-in-servicenow/
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2020 09:55 PM
Hi Shantharao,
Let me know if that answered your question. If so, please mark my response as ✅ correct & 👍 helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2020 08:50 AM
Hi,
I was having the same problem but this problem can be solved through some extra effort and by using the code given below:
You may have to identify the exact location of parameter but it will work in your Future usage
var splittedURL = gs.action.getGlideURI().toString().split("&");
//Identify the location of your parameter and split it again to get exact value you want
var requiredElement = splittedURL[Index of Element].split("=");
console.log("Your Parameter "+ requiredElement[Index of required Parameter]);
