Forum Discussion
aarshps
8 years agoFrequent Visitor
Pass value to the embedded app from custom visual
Hi all, I want to pass values to the embedded app from the custom visual used in my report. For eg. I want to raise an event when a click event occurs inside the custom visual so that I can take ...
SolomoN-ua
8 years agoRegular Visitor
Hi,
same problem here.
In the other thread (link), you were saying that PowerBI uses iframe sandbox, maybe that is why postMessage is not working?
Regards,
Anatoliy
v-viig
8 years agoCommunity Champion
Correct. Custom Visuals API loads visuals in an iframe.
Why do you want to use postMessage?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals