Passing Analytics Page URL Parameter to a Custom Dashboard Embedded via Dashboard Viewport in Proje

Mohith A
Tera Expert

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.
Anabathula Mohith
2 REPLIES 2

PradeepReddyA
Tera Guru

Hi @Mohith A 

 

Please look into this video.

 

Hope that helps!

Vinod54
Tera Guru

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