navigateToDashboard not accepting parameters
See original GitHub issueI’m trying to use navigateToDashboard method and my code looks like this:
embedDashboard.navigateToDashboard({
dashboardId,
parameters: {
startDate,
endDate
}
});
However, I’m always getting the following error:
embed-dashboard.bundle.7c5390c5f709b1b11769.31.js:2 Uncaught TypeError: e[r].map is not a function
at embed-dashboard.bundle.7c5390c5f709b1b11769.31.js:2
at Array.forEach (<anonymous>)
at e._constructHashString (embed-dashboard.bundle.7c5390c5f709b1b11769.31.js:2)
at embed-dashboard.bundle.7c5390c5f709b1b11769.31.js:2
at embedding.0e133f13518143eeb152.31.js:2
at Set.forEach (<anonymous>)
at y.e.trigger (embedding.0e133f13518143eeb152.31.js:2)
at y.<anonymous> (embed-dashboard.bundle.7c5390c5f709b1b11769.31.js:2)
If I don’t pass the parameters and only dashboard Id, it works properly
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
amazon-quicksight-embedding-sdk/README.md - GitHub
Parameters in an embedded experience session can be set by using the following call: embeddedExperience.setParameters({country: "United States", ...
Read more >Configuring filter parameters when using "Navigate to ...
When configuring the “Navigate to Dashboard” functionality, make sure to select “Pass current parameters when navigating” first before selecting ...
Read more >Navigate to another Dashboard using Parameter / Filter. Both ...
Navigate to another Dashboard using Parameter / Filter. Both the dashboard refers to different data sources. We have 2 data sources called A ......
Read more >Passing multiple parameters between views - Vaadin Forum
navigateTo(DashBoard.NAME + "/" + email.getValue()). But is there any way to pass more than one parameters? Or this is not the correct way ......
Read more >FAQ Passing parameters within dashboards through button
Passing parameters within dashboards through button. Using buttons on ClicData, you are able to create a portfolio of dashboards that can be shared...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, While we look into a better offering, please wrap all parameter values in an array, even if you are passing a single value for a param.
In your example, it can be -
As shown in example (see below), parameters is a map.
Please change the input to
assuming that “startDate” and “endDate” are the parameter names and
startDate
andendDate
are the corresponding values.