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

Passing variable value to another QV file

I thank to all supporter for your valuable time.

I have one aplication (A.QVW), in that I have 3 buttons(B1, B2, B3).

By clicking that it goes to another application Let say B.QVW

If I click Button B1 in A.QVW than it should take me to Sheet1 in B.QVW

When clicked on B2 than should take Sheet2 in B.QVW

When B3 than Sheet3 should be populated in B.QVW

How do I achieve this ?

Thanking you again for your time

5 Replies
Miguel_Angel_Baeyens

Hi Satish,

Create a new inputbox and use the variables which values you want to pass. Make sure you check in the inputbox properties that you want that variables stored into bookmarks. When you use the action Open QlikView file, it passes a bookmark with all selections. If you have this checked and the variable exists with the same exact name in both files, its value will be transferred as well.

Miguel

Anonymous
Not applicable
Author

Hi Migues

I appreciate your prompt reply.

Now the question is if possible on Action side, if I can assign variable and carrie value to another QVW file

Thanks

Miguel_Angel_Baeyens

Hi Satish,

There is an action that allows you to open another QVW file with all selections done, including variables. Just use that and make sure you check "Transfer State" in the action configuration

Miguel

Anonymous
Not applicable
Author

It works if selection made out from existing data set,

But I want to Set variable value let say vText = 'Opt1' and this value I want to carry to another document by clicking Button B1.

Thanks

antoinelaviron
Partner - Contributor III
Partner - Contributor III

Thank you so much Miguel.

You saved my day!

Antoine