Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
yavoro
Partner - Contributor III
Partner - Contributor III

GetTicket in QV9

Hello

I'm setting QV server 9 SR2 in DMS mode. The clients are AJAX and are authenticated elswhere so I have to set ticketing for them.

When I request a ticket for me(my windows user) using:
http://localhost/QvAJAXZfc/qvsviewclient.asp?cmd=<Global%20method='GetTicketForMe'>%20</Global>

I can successfully open the document using the returned number in the link:
http://localhost/QvAJAXZfc/opendoc.htm?document=DemoFile.qvw&ticket=38BAF0541A5B3295F051881F52B838FA...


The question is how can I (my windows user) request a ticket for other user using GetTicket method?
http://localhost/QvAJAXZfc/qvsviewclient.asp?cmd=<Global%20method='GetTicket'><UserId>ci</UserId></G...>
My windows user is member of QV Admin Group.
This is still not working. It returns <Error />

Thanks

Y.A.
6 Replies
yavoro
Partner - Contributor III
Partner - Contributor III
Author

I'm trying this in QV9 SR2 and QV Web Server...

Y.A.
Bill_Britt
Former Employee
Former Employee

What the attached will give you some help. This is based on the QlikView demo document President. In the Ticket.htm do a seach for WIN-62VIC8VSPIK and replace it with your server name.

.[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/12/5775.Ticket.htm:550:0]

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
yavoro
Partner - Contributor III
Partner - Contributor III
Author

Thanks

I managed to do the following: I have stoped the QV Web Server and set IIS. I request a ticket using: http://localhost/QvClients/GetTicket.asp?user=username

Then I can open a document using http://localhost/QvAJAXZfc/opendoc.htm?document=QVDemo.qvw&ticket=FADDCCE267915B507C5CBE15BEB22B9DBD...

The DMS system recognises the username, logs it and controls the access to the file well.

The problem now is the username is not passed to section access. So the file asks for username and password agian. And I've got seccond login screen.

I'm using QV9 SR2 7320 version.

Y.A.
yavoro
Partner - Contributor III
Partner - Contributor III
Author

I found partialy the solution - I tried to use NTNAME instead of USERID in section access and it works. My server is in DMS.

But I lost the desktop accessibility to the file. So I tried to use both NTMANE (for AJAX clients) and USERID for desktop development. But AJAX again requested seccond login....

Do you know any the solution?

Thanks

Y.A.
Not applicable

I am having a similar issuse and hoping a someone would post solution.

Running dms authentication, ie plugin and ticket system. In 8.5 worked like a charm , but now in 9 I also get a second login, whcih defeats the purpose of single login.

Thanks!

Not applicable

I am running into the same issue - I have 8.5 set up to authenticate through a ticket call to getticket.asp code that decrypts a user name and runs through IIS. Once the ticket is generated a our app that runs SSO calls the .qvw file and automatically performs section access.

However, in 9.0 I cannot get the same server when upgraded to work with IIS and communicate appropriately. Is there a way to do this only by utilizing QVWS and qvsviewclient.asp (or modifying it slightly)?

Also, is there a way to just push a user to AccessPoint instead of a document?