Qlik Community

QlikView Extensions

Discussion Board for collaboration on QlikView Extensions.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

[extensions] Open webpage in extension and not in webview

Hi all,

I just want to open a webpage in the extension object and not in the webview page.

For example, in my extension I have :

html += '<form action="http://www.google.fr">'+

              '<input type="submit" value="Go" />' +

         '</form>';

// Set the HTML

this.Element.innerHTML = html;

When I click on the button, the web page open in the QlikView project itself and I can't go back to QlikView sheets except with Backspace button.

I will take a look again on WebPageViewer extension.

Thanks for your help.

Tags (2)
1 Solution

Accepted Solutions
Not applicable

Re: [extensions] Open webpage in extension and not in webview

Ok, I managed to do it with iFrame.

        var doc = ifrm.contentDocument;

        if (doc == undefined || doc == null)

            doc = ifrm.contentWindow.document;

        doc.open();

        doc.write(html);

        doc.close();  

1 Reply
Not applicable

Re: [extensions] Open webpage in extension and not in webview

Ok, I managed to do it with iFrame.

        var doc = ifrm.contentDocument;

        if (doc == undefined || doc == null)

            doc = ifrm.contentWindow.document;

        doc.open();

        doc.write(html);

        doc.close();