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.
Hi,
I am using an external library (lineup) in my custom visual, where I have a dialog with form submission. I am getting this error, when I submit the form.
Where can I set allow-forms to allow form submision?
I setted it on developer console but it didnt work.
<iframe class="visual-sandbox" sandbox="allow-scripts allow-forms" name="visual-sandbox"></iframe>
BR
Hi @Anonymous
The error message warns that an Iframe is sand-boxed without a proper privileges
This is an example of a sand-boxed iFrame.
<iframe sandbox src="http://usercontent.example.net/getusercontent.cgi?id=12193"></iframe>
The sandbox attribute is not always automatically attached, because the sandbox attribute controls what is allowed.
When a pop-up is needed, the attribute will change
<iframe sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src="http://usercontent.example.net/getusercontent.cgi?id=12193"></iframe>
The iFrame has to allow pop-ups, new windows, or scripts. Whatever you are trying (probably just navigation), the action is being blocked by a sandbox.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
8 | |
6 | |
5 | |
2 | |
2 |
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
2 |