Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I'm creating a custom visual to read color from data. I followed the code guideline on github and tested it in visual playground. The source code is here:
I run 'gulp package' to create release for it. When I import to Power BI web, I get the following error:
"Uncaught SecurityError: Failed to set the 'cookie' property on 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag."
Any idea what I might have missed in my package?
Thanks.
You did nothing wrong here. This message pops when using custom visuals in your reports ever since the custom visuals sandboxing feature was introduced. It even pops when importing only the DevTools sample "YourVisual" visual to the report. The only exceptions are custom visuals from the official gallery, since they are reviewed by Microsoft and are therefore not sandboxed.
So if your visual is not functioning properly, this message is not an indication of what's causing it(But don't rule out the sandboxing feature itself as the cause).
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |