Hi, I am making an integration with an ERP using Oauth2. In the first request I get a response with HTML code which requires me to login in the ERP. I can open the either an HTMLSnippet or an HTML Element, but when I click Next (Volgende) it is not treated as a browser, but it just closes the page instead of asking the question to provide the password. It there a way to open the received HTML string in a normal browser window from Mendix? So that the user can do the required login?
asked
Edo Riemersma
3 answers
0
Using an iFrame sounds the correct thing to do.
Are you downloading the HTML and then serving it locally, or are you setting the source of the iFrame to be the external site? It will need to be the latter as that HTML has relative links that will fail if you download it locally.
Good luck!
answered
Robert Price
0
Hi Edo,
I think running it in an iframe should work, see the answer here on how to implement that.
Hope it helps,
Jurre
answered
Jurre Tanja
0
I use the HTML Element widget and set the attributes manually. The srcdoc is working as I see the content loaded, but the external site does not seem to be set or does not work?