QAP (Qlik Analytical Platform)

    Hi All,

     

    As we all know Qlik Analytical Platform is quite new in market. People are still in confusion as what QAP is, how it is different than Qlik Sense Enterprise. How to configure QAP Server, Manage QAP and especially what exactly the output of QAP. There are lots of tickets which give you chunk of information like difference between QAP and Qlik Sense Enterprise, how to reload on QAP server when there is no HUB under QAP but there is nowhere how to configure a QAP solution from scratch to end with details.


    This document will introduce QAP solution guide which will make you, how to configure QAP Server, create and publish Mashup and manage the QAP Objects or reload application on QAP when there is no HUB and all.

     

    As QAP comes after Qlik Sense enterprise to publish the Qlik Sense objects to web portal i.e Charts to any website(HTML, .Net etc.) because sometimes client has big list of external users and Client doesn't want to buy hundred of Tokens or I can say QAP is for external users like One Client want to show the sales growth to its distributors across country. So, configuring QAP needs good knowledge of Qlik Sense Enterprise (Server configuration with security rules) and web developer who will help you to embed Qlik Object to web portal.

     

    Let’s start from beginning:

     

    Difference b/w Qlik Sense Enterprise and Qlik Analytical Platform:

    The first is a commercial difference, QAP is not licensed through the normal tokens but can be licensed for CPU cores (It means there will be no tokens and if there is no token you can’t create any login passes which means you just need to provide the access to users, there is no need to allocate any token or login passes)

    The second difference is that since QAP is intended for using our APIs (Extensions, Mashups etc.) to deploy custom solutions the Qlik Sense client is disabled in QAP (It means there will be hub but when you click on hub it will give you error no access passes which means there is no user of HUB or Self Service).

     

    It's the same installation package as QES but applying a QAP license key will disable /hub it means you can view the hub, stream, and application but application will not open on HUB.

     

    Note: It’s very important to know before working on QAP, when any client buys a QAP token, it comes with minimum 4 cores, it means no matter how many processors are there on deploying server, it will only consume 4 core out of available cores. So, let’s say you have configuration of 32 cores and 250 GB RAM on Qlik Sense Enterprise server and your application size is 1 GB and you are planning to use same application on QAP, So when you import this application to QAP, It will not work as it was working on enterprise sever cause QAP(as per the license capacity) will consume only 4 cores out 32 core and your 1 GB application need 32 cores for calculation.

     

    Note: You will get two type of Licenses, first one is Qlik Sense Enterprise (Token Based) and QAP (Core) based.

    Do not be confused with, what will happen when you will activate the Qlik Server with QAP license, you will get everything same as Qlik Sense Enterprise but there will be no Tokens means no need to allocate any token or login passes which we do for authorization in Qlik Sense Enterprise.

     

    Let’s configure QAP server with another document which I have created for Qlik Sense Enterprise as few steps are common till writing rule to grant access till application level. By that document, you need to cover 1 to 9 points from https://community.qlik.com/docs/DOC-18066


    These 9 points will create a stream, import the application and publish the application to the newly created stream and grant access to application.

     

    Now you are thinking why you need to do those 9 points which are meant for Qlik Sense Enterprise cause no matter its Qlik Sense Enterprise or QAP, User must have access to stream and application at least later difference starts as on HUB you can view charts and objects and on QAP user can view only APIs like Mashup etc.

     

    Now, we will add one more new security rule which will grant all the users to access the APIs like extensions, mashups, Widget, Single configurator.

     

    ***You may create one new custom property QAPExtension with resource type Extension and User and the create a new security rule with Extension Template and write a security rule as:

    ((User.@QAPExtension=resource.@QAPExtension))

     

    Then go to the extension by Click one start => Extensions => select your extension(Mashup) => go to custom properties and click on the Space bar and select the value you have given while creating Custom properties do the same exercise for users too .

     

     

    Generally, we always ask, we have created a mashup (Dev HUB=> Mashup Editor, select new project=> select template=> select application which is accessible by user => drag and drop the objects and click on view => new tab will open) then how to show this Mashup to user, so the above solution will help you.

     

    Now, we don’t need to create any custom property because QAP is for all users (no limit) above activity started with *** is when you created a mashup and then you need to provide access of some particular Extension(Mashup) to any specific users.

     

    So, for QAP, write a simple security rule as with template Extension:

     

    ((user.name="*" or resource.name="*"))

     

    Which means all user will access the all the APIs (extensions, mashups, Widget, Single configurator).

     

    Often, People ask what if my client doesn’t has web portal so in that above Mashup solution will work, Mashup is kind of website or web solution. This is best with Qlik comes Sense as we can create a HTML page with our Qlik Objects so easily(Basic HTML and JS  and CSS knowledge requires).

     

    Now point comes, if all user will come how to secure the data, here comes the real QAP solution,

     

    Generally what QAP says, create an application on Qlik Enterprise or Desktop, import on the QAP server and publish its Objects to client website (Mashup is a HTML page but it’s not a web portal).

     

    So above, you have imported an application, created stream, published application, granted access to all users. What is left now, go to single configurator, select one object, there will be two links come on top side, Iframe and URL, Copy anyone and go to the website page where you need to show these objects and paste it(Please take the help of web developer because every object needs a proper space and alignment).

     

    Now when any user will come it will see an error, access denied or ask for credentials , so You may configure the single sign on here ,Please refer the very useful document for single sign on :

     

    https://community.qlik.com/community/qlik-sense/support/blog/2016/05/11/qlik-sense-ticket-based-authentication-step-by-step-configuration-example

     

    Last Point, how to manage the QAP server application. I mean, reload and all. So, You can’t open any application on QAP HUB and there will be no script editor so how to reload if you have imported the application from Qlik sense enterprise:

     

     

    If you have imported the apps from another Qlik Sense Server the required data connections are unfortunately not imported together with the qvf-file. That is probably why the tasks fail since the data connections are missing. Check in QMC > Data Connections if they are there and if they are properly set up.

     

    ” When you import an app developed on Qlik Sense Desktop, existing data connections are imported to the QMC. When you export an app from a server, existing data connections are not exported with the app.”

    Since the QAP is a Qlik Sense-server without the "hub" and aimed for integration purposes only you have to find a way to import the data connections into the QAP QMC for reloads to work. One way could be to create an empty app in Qlik Sense Desktop with the required data connections and then import this qvf into the QAP. Then you can manage and set up the imported data connections properly in the QAP QMC.




    Reach to me for further assistance, Please drop a mail to kumar.rohit1609@gmail.com


    Add me on Linked In : https://in.linkedin.com/pub/rohit-kumar/2b/a15/67b

     

    Please like this page or add it to as bookmark and add your ratings so my team will know how effective our solution is for Qlik Users.

     

    You may add your queries below so I would come up with solution. I will try to keep update this document with more powerful inputs. Your queries and inputs will help me to improve the quality of this solution. The aim is to make a perfect document which will guide you to a perfect solution.