Embed uploaded HTML in an Iframe

0
I have an app built in mendix that allows you to upload an HTML file for a report. A microflow gets the GUID and converts it to a URL string (sort of like a deeplink) I have a Rich text viewer that tries to embed the HTML in an Iframe in the report after upload, however I have an issue where mendix causes the browser to show a download dialog box instead of just embedding. I tried to set show file in browser to true but I don't think it supports HTML Any assistance would be very helpful
asked
1 answers
0

This was a bad solution for what I was attempting.

A better solution was to decode to string the file I wanted to parse and use find() string methods to get indexes and then substrings to pull the relevant attributes from the DOM.

Then I use the Rich Text Viewer to view the data as HTML.

answered