How to Pass a UI Builder Page Parameter to a Dashboard Component's Required Parameter in Workspace

Nayeem A
Tera Expert

Hi Team,

I have a Workspace page called "Analytics" in UI Builder. This page has a page parameter named projectID.

On this page, I added a Dashboard Component and configured it to display a custom dashboard called "WS Project Card". The dashboard has a required parameter that needs to receive the value of the page parameter projectID.

I'm trying to understand where and how to pass the page parameter value (projectID) to the dashboard's required parameter in UI Builder.

  • Analytics page parameter: projectID

  • Dashboard: WS Project Card

  • Dashboard required parameter: needs the projectID value

Could someone please guide me on:

  1. Where dashboard parameters are mapped in UI Builder?

  2. Whether page parameters can be directly bound to dashboard parameters?

  3. If a client state parameter or data resource is required as an intermediary?

Any screenshots or examples would be greatly appreciated.

Thanks in advance!

1 REPLY 1

PoonkodiS
Giga Sage

Hi @Nayeem A 

 

  • Clear the "Tab Sys Id" field: It expects a dashboard tab's sys_id, not your project ID.

  • Enable the Preset: Click Browse next to "You can enable a preset" at the top and select the Dashboard preset.

  • Bind the Parameter: This will expose a new Dashboard Parameters field further down the panel. Bind your @context.props.projectId into that field instead.