0 Replies Latest reply: Sep 18, 2015 7:14 AM by Some Nath Roy RSS

    QV object showing error in Workbech when using webticket authentication

    Some Nath Roy

      Hi All,


      I am facing a problem when trying to show a QlikView object  in a .htm page of our custom web  site. 

      I have used webticket authentication. Have checked that below two URL successfully open the access point and Sales Compass.qvw application respectively after entering userid and password through a custom login page.


      //To open Access Point

      RedirectLink = "http://<QV_Server>/qvajaxzfc/authenticate.aspx?type=html&try=/qlikview&back=/LoginPage.htm&webticket=" + ticket;


      //To open Sales Compass.qvw

      RedirectLink = "http://<QV_Server>/QvAJAXZfc/Authenticate.aspx?type=html&try=/QvAJAXZfc/opendoc.htm?document=Sales Compass.qvw&webticket=" + ticket;


      But when embedding a QV object into a .htm page , it is showing Network error. Below is the URL used in custom login page.


      //To show a listbox object of Sales Compass.qvw

      RedirectLink = "http://<QV_Server>/QvAJAXZfc/Authenticate.aspx?type=html&try=http://localhost/WorkBenchTest/WorkBench.htm&webticket=" + ticket;


      Additionally please find below the script of WorkBench.htm


      <!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">



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

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

              Qv.InitWorkBench({ View: 'Sales Compass', Host: 'Qvs@gcpldevsfa', Anonymous: 'true' });




          <div avqview="Sales Compass" avq="object:.Document\LB5368" id="Document\LB5368"></div>





      Any help would be highly appreciated.


      Thanks in advance.