By executing this tutorial you will create you first working On-Demand Ajax application. We suggest that you execute the series of tutorials in order as each tutorial is based on the progress made in the previous. Please note that QlikView document used for this tutorial is called SalesDemo for Ajax.qvw. This QlikView document can be accessed locally with a QlikView Desktop or from your QlikView Server Access Point (if you have access to one). However, it is not necessary to have a QlikView server Access Point in order to develop or view NPrinting On-Demand objects. This can be achieved in the QV desktop directly.
Furthermore, you may create (or copy the original QVW) two separate QlikView QVWs to illustrates a useful feature of NPrinting On-Demand. For example, you can have a separate .qvw that contain business data and charts for analysis (the original QVW). The second qvw, (can be a copy of the original) which contains specific charts and data specifically required for your On Demand report. You can, of course, develop your solution using a single integrated .qvw if you prefer. It is a good idea to have a primary QVW to support day to day analysis and a separate QVW for On Demand reports.
Attention: remember to save QlikView documents used as NPrinting connections with WebView mode deactivated. NPrinting cannot open QlikView documents with WebView mode activated because it doesn't have full control of QlikView functionalities.
Open QlikView and under File in the menu bar click on Open...
Right click on the empty sheet and click on Properties... in the menu that appears.
Right click on the empty sheet again and then Click on + New Sheet Object near the bottom of the menu.
Click on the Extension Objects bar near the bottom of the menu.
Drag the NPrinting Queue bar and drop it onto the sheet. It will shows all requests with last at the top of the list. You should add only one NPrinting Queue extension to the document because it shows all requests by all NPrinting buttons. More than one NPrinting Queue object can be embedded, though, say one on each sheet, and all of them will show the same information.
We suggest that you increase the size of the "Report queue" button because it doesn't expand the drop-down list automatically. This must be done to show the report list which does not currently appear by default. To do this, simply:
The drop-down list of On-Demand generated reports will now appear based on the newly resized report queue list area.
Drag the NPrinting Report bar and drop it onto the sheet. When finished, we’ll be able to run the report PowerPoint Report with Multiple Pages with the filters applied inside NPrinting.
Right click on the Run Report object and click on Properties... in the menu that appears.
Click on “fx” at the right end of each input field to obtain a more user-friendly, spacious editor.
Click on the PowerPoint Report... button directly inside the QlikView document and wait until the Reports queue button turns green and the number of reports that are ready has been increased by one.