Forum Discussion
Pass value to the embedded app from custom visual
Has this problem ever been solved?
We are building a web-app that integrates Power BI reports and we would like to trigger certain actions inside our app depending on what the user clicks or selects, e.g. to show pop-ups with external information or to switch a filter of a non-PowerBI element.
Is this possible v-viig ?
Our app has a very extensive postMessage interface to communicate with Iframes.
Yes it is easily possible. We had written a custom visual which pushed messages to the parent and the event was caught and actions where taken in the app. Easily possible.
- florianSB5 years agoRegular Visitor
Great! So a simple 'postMessage' from inside a custom visual will arrive in the parent window that embeds the report? I was afraid there might be some layers in between to prevent this.