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

How to pass variable in mashups?

Hi

I want to pass variables in mashups is it possible?

Thaks

RAvi

13 Replies
Not applicable

in qlikview i did this .just added 9 images on home page and gave action..select field

now i am moving same dashboard into Qlik sense and using meshups..facing difficulties doing

ErikWetterberg

Well, the detail page cannot read the main page, the main page can however send the entitycode to the detail page. That's what I have described above.

Erik

Not applicable

i need filter the data in detail page based on selection.. you mean we can't filter detail page by passing value in URL

Not applicable

hi Erik finally got with below code

app.getObject('QV01','PqdPa');
//create cubes and lists -- inserted here --
var vFieldName = GetURLParameter('EntityCode');

   //alert(JSON.stringify(vFieldName));

   app.field("EntityCode").selectMatch(vFieldName, false);

} );

function GetURLParameter(sParam)

{

    var sPageURL = window.location.search.substring(1);

    var sURLVariables = sPageURL.split('&');

    for (var i = 0; i < sURLVariables.length; i++)

    {

        var sParameterName = sURLVariables.split('=');

        if (sParameterName[0] == sParam)

        {

            return sParameterName[1];

        }

    }

}