Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am creating a custom visual in powerBi service. But Facing problem when trying to redirect on click of button or even on the click of anchor link.
Error which I am getting when trying to redirect using javascript-
Blocked opening 'www.google.com' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
Description About the visual:-
I have three dropdown in my custom visual whose values i have to supply as query parameters with a url. So, that it can interact with my webservice and create the pdf or ppt.
But i can unable to open this link in seperate tab by using javascript or even from anchor link.
I can share the code if you want.
Please help its urgent . Thanks in advance.
Solved! Go to Solution.
Hello @amitsangal78,
Power BI Custom Visuals API 1.7 doesn't allow to open any external urls due to security risks.
This feature will be included into API 1.9.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I suppose that API 1.9 will be released by end of this year (we don't have a clear ETA at lest for now).
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
API 1.9.0 has been released recently.
This version introduces Launch URL API that allows custom visuals to open external URLs.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Please let me know if this is possible in power Bi or not. I am stuck very badly init.
Hello @amitsangal78,
Power BI Custom Visuals API 1.7 doesn't allow to open any external urls due to security risks.
This feature will be included into API 1.9.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I suppose that API 1.9 will be released by end of this year (we don't have a clear ETA at lest for now).
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
API 1.9.0 has been released recently.
This version introduces Launch URL API that allows custom visuals to open external URLs.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hey the url for 'Launch URL API' is not valid. Can you give me an updated url or tell me how to enable 'allow-popups' permission so I can open a new window from the sandbox. Thanks
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |