Forum Discussion
jeromexshi
2 years agoNew Member
Query on iFrame Sandbox Permissions for Custom Visuals in PowerBI ( "allow-scripts" permission)
I am writing to seek clarification regarding the iFrame sandbox permissions for custom visuals in PowerBI. Specifically, since the sandbox only supports the "allow-scripts" permission, I am concerned...
dm-p
2 years agoSuper User
Hi jeromexshi,
All you can do to get successful responses from an endpoint is if the Access-Control-Allow-Origin response header is configured as * or null (as custom visuals have a null origin due to the sandbox impositions). If you cannot work to these constraints, then there is currently no known workaround.
If these have been set, then HTTP(S) endpoints should be callable per usual JS fetch methods.
Regards,
Daniel