Problem:
We have a scenario where we have a large data source that is currently used to produce a single QVW. What we would like to do is produce a number of smaller QVWs using e.g. Publisher - however, we would like to define the reload schedule and destination folders that these smaller QVWs end up in from an external MySQL table (or config file or similar), rather than through the Publisher GUI. Has anyone done anything similar, or got any recommendations on how to approach this?
Solution: Advanced ETL Processor QlikView automation package
The package is executed from the left to the right starting from "Init Variables" object
First of all, we've created the following table to store parameters, it can be extended if necessary
Table data:
Step 1: Init variables.
Variables are used to replace one string with another, for example anywhere in the package where <RoorDirectory> is found it will be replaced with c:\Customers.
Step 2: Inc
This script ins increasing variable <loop variable> by one (two times)
Step 3: Get Variables
This step executes the following SQL to get variables from the databases before execution <loop variable> is replaced with the actual value
Step 4: Create a directory
This step creates the directory if it does not exist
Step 5: Copy dashboard
This step copies Dashboard to just created directory, so it is easy to distribute updates
Step 6: Generate QVD files
This step is used to create QVD file, if it necessary to create several files we can just add more Export steps or for complex cases, we can use transformation object to create QVD files
Step 7: Refresh Dashboard
This step is used to Refresh QlikView dashboard, data is loaded from the same directory where the dashboard is stored
Step 8: Compress Dashboard
Step 9: Email Dashboard
Back to Step 1
We did spend 40 minutes designing this package, so can you