Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Div or single object integration with ticket authentication

Hello all,

Is it possible to get a single object (over singleobject.htm oder div-integration) with ticket authentication into a webpage? When yes, how?

The whole document (with opendoc.htm) and ticket authenctication works perfectly. But when I try to get a single-object, it doesn't work.

Any help would be greatly appreciated.

1 Solution

Accepted Solutions
Not applicable
Author

Hi Erik

After a lot of hours, we found the solution. There was a quite small problem. But it's not mentioned somewhere.

Within your div-tag you have to set the 'id'-tag to your object. For example:

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

Without the 'id'-tag (or even a wrong), the QV-object doesn't work properly (no communication between other objects).

Many thanks for your time and investigation!

Best regards, Simon

View solution in original post

14 Replies
ergustafsson
Partner - Specialist
Partner - Specialist

Hi Simon,

You might want to look into using QlikView WorkBench to integrate QlikView objects into other pages. There are also some extensions able to do this, like Sharing and Embedding Multiple QlikView Objects (v11 SR2+), but WorkBench acts as a proxy and the end-user is using the ticket properly, not the service account.

Regards,

Erik

Not applicable
Author

Hi Erik,

Thank you very much for your help. I've now tried the Extensions (and the frame.html website on my server) which works very well. But the same problem as described above still appears. How can I transmit my Webticket for the user, which logs in?

My URL for the the iFrame looks like this (but doesn't work):

http://<serveraddress>/QvAJAXZfc/Authenticate.aspx?type=html&try=/QvAJAXZfc/frame.htm?d=QlikView/SSA/testapp.qvw&ob=Document\CH01:36:27:386:123,Document\LB01:41:457:144:58&webticket=$ticket

The Webticket-Authentication works with this URL (embed the whole document):

http://<serveraddress>/QvAJAXZfc/Authenticate.aspx?type=html&try=/QvAJAXZfc/opendoc.htm?document=SalesCompass.qvw&webticket=$ticket

Any ideas how can I transmit the webticket?

It would be great if you could have a short look at it... 🙂

ergustafsson
Partner - Specialist
Partner - Specialist

Hi Simon,

What is the error that you get?

Does the extension work with regular NTLM authentication? Try simplifying your setup as much as possible and the complicate it from there.

Regards,

Erik

Not applicable
Author

Hi Erik,

We've done it with div-integration. It has to deal with cross-domain-restrictions...

But now another question pop up: If we have two or more QV-objects integrated (with div integration) in a webpage, are they connected with each other? Or do we have to add listener to every object? As we tried, there are no connection between the unique div-objects. But in the normal QVW-app there are linked together.

Do you know that? Thanks for reply...

ergustafsson
Partner - Specialist
Partner - Specialist

Hi Simon,

They need to be included in the same session (user, server etc) and on the same document. This usually work in WorkBench so it might be that you are using different tickets for each object.

Regards,

Erik

Not applicable
Author

Hi Erik,

hmmm... I don't think, we use two different tickets (or sessions). What we've done until yet:

We generate a Webticket (over GetWebTicket.aspx). Then we open the Authenticate.aspx-site with following paramters:

type=html&try=/portal/default.html&webticket=[ticket]

which redirects - after a successful authentication - to our /portal/default.html-site.

In this .html-site we include the three qv-objects in div-containers. Is qlikview opening somehow three different sessions with this approach?

ergustafsson
Partner - Specialist
Partner - Specialist

Hi Simon,

There are a few different logs that can help you with this. Default path is C:\ProgramData\QlikTech\QlikViewServer\ . First of all, within the QMC you may see sessions to the QVS before they are written to the logs. See QMC > QVS Statistics.

You might want to raise the Event log verbosity at QMC > System > Setup > Management Service > QlikView Servers > QVS@servername > Logging. Splitting files daily will make each daily log a bit smaller, meaning easier to focus on.

Event log would show you tickets being generated and tickets being used. That way you can see when an end-user gets a ticket.

Sessions log (live inside QVS Statistics) can show you which user is using what document. So if you check QVS Statistics, do you see "Sessions" 1 or more when trying to click around in the objects? If more, likely there are many sessions. The saved session log shows you this after a session has ended, it registers all sessions.

Audit log can be a thing to turn of if you want to see each selections a user has made.

Also, Performance logs can show you number of users, AJAX calls etc being made.

Let me know if this helps.

Regards,

Erik

Not applicable
Author

Hi Erik,

first, many thanks for your investigation!

I controlled every log file and qmc-states. In my opinion, it looks good. Perhaps you see something other... Thanks!

session-qmc:

session-qmc.PNG.png

events-log:

events-log.PNG.png

Best, Simon

ergustafsson
Partner - Specialist
Partner - Specialist

Hi Simon,

I would compare other sites with WorkBench or similar how they have set this up. Perhaps use a tool like Fiddler or read the source code of the site to see if there is some cross object references. It looks fine in your logs.

Naturally, I would recommend our official products (WorkBench) but that would be my best shot. Compare to how others did it.

Have a look at some demos for instance: Example website to show capability of Qlikview Workbench

Good luck.

Regards,

Erik