Passing Analytics Page URL Parameter to a Custom Dashboard Embedded via Dashboard Viewport in Proje
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Community,
I'm working in Platform Analytics and have a requirement where I'm embedding a custom dashboard inside Project Workspace using the Dashboard Viewport component.
Requirement
The custom dashboard has a required dashboard parameter (for example, Project ID/SYS ID), and I want to pass this parameter dynamically from the Analytics page URL to the embedded dashboard.
What i did:
- Created a custom dashboard with a required parameter.
- Added the dashboard to a page using the Dashboard Viewport component.
- The Analytics page URL already contains the value I need (for example, a project sys_id or record identifier).
- I would like the embedded dashboard to automatically receive this value and load the relevant data.
I'm looking for guidance on:
- Whether Dashboard Viewport supports parameter mapping from URL/page state
- How to access URL parameters within Analytics pages.
- Alternative solutions if direct parameter passing is not supported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
Hello @Mohith A ,
Yes, Dashboard Viewport supports parameter mapping from URL.
How to do it:
1. Create a page parameter that binds to the URL: @context.params.projectId
2. In Dashboard Viewport component, map the dashboard parameter to your page parameter
3. Test with URL: ?projectId=12345
If this helped, please hit Helpful and Accept as Solution
Thanks
Vinod Kumar M