Qlik Community

Ask a Question

QlikView Integrations

Discussion Board for collaboration on QlikView Integration.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
somenathroy
Creator III
Creator III

QV object showing error in Workbech when using webticket authentication

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

<head>

    <title></title>

    <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' });

      </script>

</head>

<body>

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

</body>

</html>

Any help would be highly appreciated.

Thanks in advance.

2 Replies
CYRUS
Contributor III
Contributor III

When you open http://localhost/WorkBenchTest/WorkBench.htm ; can you see Qlik Objects in your page(WorkBench.htm)?

CYRUS
Contributor III
Contributor III

Use http%3A%2F%2Flocalhost%2FWorkBenchTest%2FWorkBench.htm Instead of This Url