Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Trouble saving HTML from a popup

I have an extension object that contains a DIV that contains an HTML based report. In the extension object I have a button that when clicked simply opens up a new IE window with the contents of the DIV. That works perfectly.

From there the problem is that when I try to save the page opened in new IE window it doesn't save properly. When I view the source of the open window I see exactly what I would expect, my report HTML. The save works fine (no errors) but when I open the saved file I see this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0044)http://qlikview/QvAjaxZfc/OpenUnicornDoc.htm -->
<HTML><HEAD><META content="IE=5.0000" http-equiv="X-UA-Compatible">

<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 10.00.9200.16866"></HEAD>
<BODY></BODY></HTML>

What is OpenUnicornDoc.htm? And why isn't the page I see the page actually saved?

2 Replies
Not applicable
Author

Anybody?

Not applicable
Author

Bumping again. Still trying to solve this.

I have a DIV that is populated with an HTML report. What I want it to allow the user to save that report to a file. My solution was to pop it up in a new window here they could save from IE, but even though the source looks fine in the window, when I save it there is just the dang OpenUnicornDoc!!