Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
deep2021
Creator III
Creator III

Qlik sense Binary load - Passing app id from variable.

Hi,

Can you please suggest how to pas QS app id into variable in binary load. I am moving the app from one environment to another.

Can you please suggest.

 

Thanks

Labels (4)
2 Replies
RafaelBarrios
Partner - Specialist
Partner - Specialist

Hi @deep2021 

Im not sure if i got this right
You want to retrieve the ID of the application from which you are doing the binary load from, correct?

 

if this is so, the  variables will not help you because in the binary load it seems to me that they are loaded, so you will have to retrieve the ID in the original app and put it into a table

TMP_TABLE:
load
DocumentName() as OriginAppID
autogenerate(1);

 

and in the application where you are doing the binary load you can retrieve it from the previous table

let vRecoverOriginAppID = peek('OriginAppID',0,'TMP_TABLE');

 

The reason why I doubt it is because you have to keep in mind that the call to the binary load must always be the first line of execution and by that time you should already know the ID.

Hope it helps.

Best,

deep2021
Creator III
Creator III
Author

Hi,

What if I can use the include file (.qvs) and use that in the script?

 

Thanks