Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
DREFFO
Partner - Contributor
Partner - Contributor

Binary load

I have a file qvw (2) that as the first line in the script does a Binary qvw of a file (1) already exists and which has its own script to load data.

When I reload the second file (2) must be forced before the reload of the data of the first file (1), so as not having to manually launch the reload of the first file (1) before being able to use the second (2)

Thank you

7 Replies
zhadrakas
Specialist II
Specialist II

what about this:

- create a Trigger to reload File (1)

- create a Trigger for file (2) that says when File (1) is finished start Reloading File (2)

Anonymous
Not applicable

Hi,

Do you have the same file in the same repository?

The binary load reload data of existing file to a new file. If you load new data to the first file, you will have old data in you file 2 if you don't reload it.

You also can reload your file 2 without reloading the first file.

But I am not sure to understand your issue?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Do you have a QlikView server?

In that case, the flow is different: you never reload the second file because that doesn't make any sense if the first one hasn't changed. You always reload only the first one, and if that reload succeeds, you let the first reload trigger the second reload. That way, your final document will never be touched when the first reload fails. It just keeps displaying some older data.

Anonymous
Not applicable

Hi Peter,

If i have another script in my second file but not only the binary load, how can I do in that case if I want to refresh the data retrieved by this script?

Could i have this kind of code?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

You mean you have some other script code after the binary load that gets some more data to be combined with the data form the first document? If the first document doesn't do anything else but load & prepare the data for the second document, then why don't you add this extra script code to the 1st document instead?

Anonymous
Not applicable

Yes because some users use the first application and other use the second which contains another data.

The first group of users don't need to see another data in the second application.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Then why not create a data-only document that takes care of extracting data from all souces, transforms them into a consistent data model and then is used by two end-user documents that do a binary load, drop what they don't need and display the remainder in targeted UI objects? The two user-facing documents can be reloaded side-by^)side whenever the dta stage document finishes.