Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
We created a Power BI Dashboard with custom URLs, so when a user clicks on a visual it would take the user to the given URLs.
This works perfectly on app.powerbi.com service site. However when we embed the dashboard in our bespoke application, clicking on those visuals that are supposed to open an URL results nothing.
We looked into the API and aparently there isn't a way to surface these URLs to our bespoke application. Unless were missing something? Has anyone tried this before?
Regards,
P.
Solved! Go to Solution.
Hi @pmdci,
As we can see from the online demo, the JS module seems not to provide this property. But we can get it through the REST API. Please refer to power-bi/dashboards/gettileingroup.
Here is a working demo: Developer/API-to-get-Dashboard-tile-custom-hyperlink.
Best Regards,
Dale
Hi @pmdci,
As we can see from the online demo, the JS module seems not to provide this property. But we can get it through the REST API. Please refer to power-bi/dashboards/gettileingroup.
Here is a working demo: Developer/API-to-get-Dashboard-tile-custom-hyperlink.
Best Regards,
Dale
We managed to implement it as per your reply. However I wonder if there is a way to inherit the link target (current tab, new tab, etc) from the dashboard? At the moment we have some links we set-up to open in a new tab, but this seems to be ignored.
Sure we could code this ourselves but we wouldn't be able to mix and match different behaviours for multiple links in a dashboard.
Thanks!
P.