Hi,
I'm currently working on a mobile app that needs to be able to share/export/save a PDF. The content of the PDF is the output of a calculation based on user input. The app REQUIRES that it functions without any internet (the location we are at doesn't have a guaranteed internet connection, think of in the middle of the ocean). So only client actions are possible.
I have found a component that can help me, namely "PDF Generator Plugin". This component takes HTML input and converts it to PDF (including a download option).
My thought now is to create a screen that shows the user the output generated (Doesn't need to be pretty/readable due to size restricting. The data is readable somewhere else in mobile friendly mode). This screen can then be saved to PDF and processed further at the users discretion.
My problem is that I don't know if it possible to capture the HTML of the screen that I'm currently showing (or not showing if that is the way to go). I have found the following forum thread but no answer was provided there: Get HTML of a page.
Any thoughts? A alternative would be to generate the HTML myself via string generation but that would be rather dirty and not "low-code" friendly.