Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Alexander_Thor
Employee
Employee

Dynamic DIV-tag integration

With QlikView 11 we introduced a feature with the sexy name DIV-tag integration.

What this really enables us to do is to reference our JavaScript API and integrate QlikView Objects into web solutions with full functionality.

This is huge. With no extra licenses QlikView users around the world can now enjoy QlikView functionality within non .Net solutions, embedded into their ERP or CRM systems. The community loved it but was also a bit concerned that the amount of objects floating around out there would increase the maintenance of QlikView.

A few lines of JavaScript will eliminate that problem for you

Dynamic DIV-tag integration 1.0

Now you have 1 solution to maintain that can serve your entire company with embedded QlikView Objects.

Short version:

You will need:

QlikView Server version 11 installed.

Some sort of web server.

A can of coke and a smile on your face.

NEW: A workbench license.

Installation:

1. Download the sample at: http://dl.dropbox.com/u/18211954/Extensions/single.zip

2. If you are running QV Webserver extract the contents to: C:\Program Files\QlikView\Web\

3. Change the script references in single.htm to match your setup.

4. And you are done.

How-to:

The solution accepts input according to the following syntax: http://WebServerUrl/app pool/single.htm?app=your document without qvw&obj=ObjectID

Optional parameters are w and h to set width and height otherwise default to 100%

On my demo system the following URL will generate the chart below:

http://localhost/QlikView/single.htm?app=Vinguiden&obj=CH233&w=200&h=400

NOTE: If you get a no connection error message try adding the .qvw extension to your app variable

single.PNG

This chart has full QlikView functionality. If you for some reason want to disable any interaction with the object, set it to read-only in the QV document.

32 Replies
CYRUS
Contributor III
Contributor III

It drives me Crazy,

I have QlikBench Licence besides of Qv11

This is my Code as:

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register assembly="QlikViewWorkBench" namespace="QT.QWW.WebControls" tagprefix="qww" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<script language="javascript" type="text/javascript" src="/QVAJAXZfc/htc/QvAjax.js"></script>


</head>

<body>

    <form id="form1" runat="server">

    <div>


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

   Qv.InitWorkBench({

       View: 'qvname',

       Host: 'null'

   });

</script>


<style>


    .QvInlineObject

     {

        position:relative;

        margin-left:10px;

        margin-right:10px;

        float:left;

     }


</style>

   

        <div class="QvInlineObject" avqview="qvname.qvw" avq="object:.Document\CH02"></div>


   

    </div>

    </form>

</body>

</html>



it gives me a Network error,please try again


Shubham_Deshmukh
Specialist
Specialist

Hi @Alexander_Thor ,

 I think it's been too long to ask this, then also if possible help me out,

http://localhost/QlikView/single.htm?app=Vinguiden&obj=CH233&w=200&h=400

This link is not working.

- Shubham

Brett_Bleess
Former Employee
Former Employee

Check out the following link, believe it should help:

https://help.qlik.com/en-US/qlikview-developer/November2018/Subsystems/Mashups/Content/QV_Mashups/ma...

If not, I would open a new post rather than coming back to this one. 

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.