Skip to main content

QlikView Integrations

Discussion Board for collaboration on QlikView Integration.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Qlik View div integration in java web app

Hi,

I am trying to integrate qlik view objects into my java based web application using the Ajax client (Div integration).

Do I need Workbench for this ?

I have create my own proxy jsp page and redirected the QVAJAXZfc through that to avoid CORS error.

My code is fairly simple :

<script language="javascript" type="text/javascript"

  src="http://localhost:8080/TestMashUp/Proxy.jsp?http://localhost/QVAJAXZfc/htc/QvAjax.js"></script>

<script language="javascript" type="text/javascript">

  Qv.InitWorkBench({

  View : 'Movies Database',

  Host : null

  });

</script>

and in body :

<div class="QvInlineObject" avqview="Movies Database"

  avq="object:.Document\CH07" avqstyle="false"></div>

I am getting error for

POST http://localhost:8080/TestMashUp/Proxy.jsp?http://localhost/QVAJAXZfc/QvsVi…=Movies%20Database&slot=...

When I am looking into web server log I see this.

Information     Request received [POST]: http://localhost/QvAjaxZfc/QvsViewClient.aspx?mark=40E4053C5419CA25&view=Movies Database.qvw&slot=&platform=browser.chrome&dpi=96&xrfkey=tSG4vmVPrMmvpgRF

Warning Response aborted, path=/QVAJAXZfc/QvsViewClient.aspx&mark=&view=Movies Database&slot=&platform=WORKBENCH&dpi=96&xrfkey=tSG4vmVPrMmvpgRF

Can any one point me what am I missing here ? Authentication should not be an issue as I have enabled header authentication and injected header (QVUSER) in proxy page. At the same time when I use iframe integration and put this line in my html , it all workds fine.

<iframe

  src="http://localhost/QvAJAXZfc/singleobject.htm?document=Movies%20Database.qvw&object=CH07" />

EDIT :

I do see another request in browser console for which I am  getting 404 .

http://localhost/QVAJAXZfc/Authenticate.aspx&keep=

But this should not be a problem as I see the same call failing for workbench mash up as well.

Thanks

-Vishal

0 Replies