Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
How would a javascript fetch call executed by the custom visual behave, depending on:
Thanks
(Also, please let me know if I missed any deployment model possibility)
Hi @Anonymous ,
HTTP fetch requests work fine from inside the developer visual as long as your remote endpoint can accept requests from any domain. This is because the developer visual runs inside a sandboxed iframe with no domain of its own. Further reading: iframe reference, under the sandbox attribute. The only value enabled is allow-scripts; all others are disabled from the main window to keep the visual from interacting from the main window, except through the provided APIs.
Hopefully this gives you some ideas on how to proceed.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)