- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 11:20 AM
Hi ,
We are using an ui action with with we are sending the parameter via URL to a client script on a catalog item.
though the url is having parameters but the cilent is not picking it up .
for reference providing the script below.
please help with any suggestions you have!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 11:38 AM - edited 07-18-2024 11:40 AM
Hi @archanachil ,
If you have the parameters in your URL, you can use this logic to fetch them. I've used it in one of my project and it works.
var gUrl = top.location.href; //get the URL
//fetch the parameter, add the correct name of your parameter instead of parameter_name1.
var name1 = new URLSearchParams(gUrl).get("parameter_name1");
Thanks,
Hope it helps.
If my response turns useful, you can mark it helpful and accept solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 11:38 AM - edited 07-18-2024 11:40 AM
Hi @archanachil ,
If you have the parameters in your URL, you can use this logic to fetch them. I've used it in one of my project and it works.
var gUrl = top.location.href; //get the URL
//fetch the parameter, add the correct name of your parameter instead of parameter_name1.
var name1 = new URLSearchParams(gUrl).get("parameter_name1");
Thanks,
Hope it helps.
If my response turns useful, you can mark it helpful and accept solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello @community Alums,
In my scenario how to get the unique dashboard sys_id from the Navigator History URL.
urlLIKE$pa_dashboard.do?sysparm_dashboard=^sys_updated_onRELATIVEGT@month@ago@6
To capture content actively utilized by the business, the migration scope will be derived from the system’s navigation logs.
- Data Source: sys_ui_navigator_history
- Parameters: Filter for URLs containing pa_dashboard.do?sysparm_dashboard= with a Updated date within the last 6 months.
- Methodology: Programmatically extract unique Dashboard Sys IDs from the URL strings to establish the migration batch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 11:49 AM
Thanks @Community Alums
