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.

Note: If 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 information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?