Hi,
I am using dynamics 365 customer voice to handle surveys.
I have a webpage where I am using embedded iframe surveys. Whenever a user 'logs in' on this site, his survey is shown if he hasn't filled it in yet. I want to continue whenever the sent button is pressed.
However, since it is an iframe, I am unable to detect a 'sent' button press event on the survey. (XSS and CORS policies etc.)
I thought about listening to an url change, but the url of the survey doesn't change when the form is submitted. I thought about listening to browser network requests as well, since it's a HTTP POST request, but it happens on microsoft's page (the iframe) and not my page so I cannot listen to this (security reasons, again, I understand why this is not possible and should not be possible).
Then I was wondering if I could listen to some kind of callback the survey sends when the button is pressed. There does not seem to be one, I'm not sure. The docs are not very extensive on this field.
The only option I can currently think of is by making an entire circle, from my page -> azure (the survey) -> (API things, other people work here, not my things right now) -> SignalR -> page frontend.
However, this can take like 20 seconds. I don't want to let users wait this long. If I could detect some kind of callback, it could be done instantly.
What would be the best way to approach this?
Thanks,
- Nick

Report
All responses (
Answers (