Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Jason_Michaelides
Luminary Alumni
Luminary Alumni

Open qvw in iFrame from another qvw onOpen

Hi all,

I need to create a landing qvw which recognises the user and routes them seamlessly to another qvw dependent on who they are.

I have built in all the logic without any problems, creating the url etc.

My issue is that the landing qvw is accessed via an iFrame in a host application. I need a macro to redirect to the new qvw within the same iFrame.  The host application developers have provided me with som javascript to run:

function LanchDashboarda() {

    window.location="http://xxx/QvAjaxZfc/AccessPoint.aspx?open=&id=QVS@xxx%7CBlah%20Blah%20Dashboard_a.qvw&client=Plugin";

}

function LanchDashboardb() {

    window.location="http://xxx/QvAjaxZfc/AccessPoint.aspx?open=&id=QVS@xxx%7CBlah%20Blah%20Dashboard_b.qvw&client=Plugin";

}

But I get an error:

     Macro parse failed: Functionality was lost

     LaunchDashboarda

     Error: 'window' is undefined

I tried an Action with "Open QlikView Document" but that stays within the same IE tab, which loses the host app - I need to stay within the iFrame.

Any ideas!?

Thanks,

Jason

1 Reply
Jason_Michaelides
Luminary Alumni
Luminary Alumni
Author

Sorry to shamelessly bump this back up but does anyone have any ideas?

Jason