Skip to main content

Connecting Workbench to QlikView Web Server

QlikView Workbench can be used within an asp.net web site project, and it can connect to a QlikView Web Server via the div tag in a JavaScript without the need for a .NET DLL component.

Information noteIf the DLL component is not used, the proxy cannot be used.
Using proxy

Below follows an example of the JavaScript code using the div tag (as a part of the HTML code instead of the ASPX code):

<script type="text/javascript" src="http://localhost/QvAjaxZfc/htc/QvAjax.js"></script> <script type="text/javascript"> var mydoc; var MyQvObject; MySheetObjects = function(data) { alert(data.length); } MyDocuments = function(data) { alert(data.length); } MySearch = function() { MyQvObjects.Data.SelectTexts("3","4"); } MyInit = function() { mydoc=Qv.GetDocument("Films"); MyQvObject = mydoc.GetObject("LB1458"); } GetDocumentList = function() { Qv.GetAllDocuments(function(data) { alert("data:" + data.length); }); } GetObjectList = function() { mydoc.GetAllObjects(function(data) { alert(data.length); }); } Qv.InitWorkbench({ View: 'Films', BodyOnLoadFunctionNames: ["MyInit"], CustomIcons: {SEARCH:"API_test/Images/NewSEARCH.bmp", CD: "API_test/Images/NewCD.bmp"} }); </script>

Below follows an example of the div tag:

<div style="width:400px;height:250px;"> div class="QvFrame" avqview="Films" avq="object:.Document\LB1458" id="Document\LB1458" style="width:400px;height:250px;"> </div>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com