On click microflow action not getting executed for HTMLsnippet widget having iframe as HTML content

0
Hi, In our application we have HTMLsnippet having iframe as html content. and iframe has video link as src. And on click of video (HTMLsnippet ), I want to execute some logic in background for that i used on click microflow property of HTMLsnippet , but observed that microflow is not getting executed. Can someone suggest the missing thing here or how can i achieve this?
asked
1 answers
0

I believe events aren’t triggered from the iFrame because of the security features, so the microflow won’t execute. If you own the page being shown in the iFrame, and that is part of your application, you could have a datasource microflow on the page in the iFrame that handles your logic. If you don’t own the page being shown on the iFrame I don’t think there is a way for you to know what is happening on that page unless that page is able to message your Mendix application somehow, maybe via a REST service, or JavaScript message.

answered