Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
saurabh_handa
Contributor III
Contributor III

Qlikview: div integration not working with ticket authentication

I have implemented ticket based authentication on QlikView environment to achieve ESO - Enterprise Sign on functionality. Now i am working on a web application in MVC where i need to pull some QlikView report's visual into my webpage. The problem is when i use div-integration code in my web app, authentication piece does not work at all. What do i need to write in order to make it working?

This is my code:

<html xmlns="http://www.w3.org/1999/xhtml" style="width: 100%; height: 100%; margin: 0; padding: 0;">

<head runat="server">

    <title></title>

    <link rel="shortcut icon" type="image/x-icon" href="Content/QProxy.aspx?file=htc/Images/favicon.ico" />

    <link rel="stylesheet" type="text/css" media="screen" href="Content/QProxy.aspx?file=htc/default.css" />

    <script type="text/javascript" src="Content/QProxy.aspx?file=htc/QvAjax.js"></script>

    <script type="text/javascript">

        //Initialize QlikView Document

        Init = function () {

            qvDoc = Qv.GetDocument('cfr_reports/rtnmashup');

            qvDoc.Clear();

        }

        //Call Workbench function

        Qv.InitWorkBench({

            View: 'cfr_reports/rtnmashup',

            BodyOnLoadFunctionNames: ['Init'],

            Host: null

        });

    </script>

</head>

<body>

    <div id="PageContainer" style="height: 111px; width: 155px;">

        <div class="QvFrame" avqview="cfr_reports/rtnmashup.qvw" avq="object:.Document\TX54" id="Document\TX54" style="left: 0px; width: 356px; height: 127px;">

        </div>

        <div class="QvFrame" avqview="cfr_reports/rtnmashup.qvw" avq="object:.Document\TX55" id="Document\TX55" style="left: 8px; width: 153px; height: 57px;">

        </div>

        <div class="QvFrame" avqview="cfr_reports/rtnmashup.qvw" avq="object:.Document\TX56" id="Document\TX56" style="left: 8px; width: 39px; height: 23px; top: 84px;">

        </div>

        <div class="QvFrame" avqview="cfr_reports/rtnmashup.qvw" avq="object:.Document\TX57" id="Document\TX57" style="left: 8px; width: 90px; height: 23px; top: 101px;">

        </div>

        <div class="QvFrame" avqview="cfr_reports/rtnmashup.qvw" avq="object:.Document\TX58" id="Document\TX58" style="left: 120px; width: 46px; height: 23px; top: 84px;">

        </div>

        <div class="QvFrame" avqview="cfr_reports/rtnmashup.qvw" avq="object:.Document\TX59" id="Document\TX59" style="left: 120px; width: 46px; height: 23px; top: 101px;">

        </div>

        <div class="QvFrame" avqview="cfr_reports/rtnmashup.qvw" avq="object:.Document\CH11" id="Document\CH11" style="left: 166px; width: 219px; height: 115px; top: 8px;">

        </div>

    </div>

</body>

0 Replies