Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Ticketing with QV 10

As per documentation, ticket mechanism has been changed in QV 10.

anyone got it working? if yes please post the code here.

Thanks,

Robins

1 Solution

Accepted Solutions
danielrozental
Master II
Master II

This is what I got back, haven't tried it yet but seems simple enough.

The GLOBAL METHOD calls from v9 were deemed as security risk and are no longer externally callable in v10. In v10 you can still use the HTTP POST method to get a ticket, you use the same exact call but you now need to call GetTicket.aspx.
The vbscript referenced in the QVS reference manual on page 209-210 is outdated should be removed, the URL request should still work, but the GET from the browser will not, It needs to be a POST.


And there is an html example attached.

View solution in original post

6 Replies
danielrozental
Master II
Master II

I have the exact same problem.

QVSNetRemote.dll v10 makes any Visual Studio project fail compilation. Version 9 of that dll still works against QVS 10 though.

I've contacted our assigned QlikTech support person but still no answer.

Not applicable
Author

please post it here if you getting any updates from Qliktech.

Thanks

danielrozental
Master II
Master II

This is what I got back, haven't tried it yet but seems simple enough.

The GLOBAL METHOD calls from v9 were deemed as security risk and are no longer externally callable in v10. In v10 you can still use the HTTP POST method to get a ticket, you use the same exact call but you now need to call GetTicket.aspx.
The vbscript referenced in the QVS reference manual on page 209-210 is outdated should be removed, the URL request should still work, but the GET from the browser will not, It needs to be a POST.


And there is an html example attached.

Not applicable
Author

Thanks for that, got it working by setting the QVclients virtual directory.

But is there anyway we can get ticket like with QVSNetRemote.dll without using http calls.

This is the code we used with QV 9

Public Function GetTicket(ByVal QVServer As String, ByVal user As String) As String
Dim oQvClient As QvClient = New QvClient(QVServer, QvClient.Mode.Admin)
Dim oXmlAnswer As New XmlDocument()
Dim oXmlRequest As New XmlDocument()
oXmlRequest.LoadXml("<Global method='GetTicket'><UserId>" & user & "</UserId></Global>")
oXmlAnswer.LoadXml(oQvClient.Execute(oXmlRequest.OuterXml))
Return oXmlAnswer.DocumentElement.InnerText
End Function

amien
Specialist
Specialist

http://localhost/QvAjaxZfc/GetTicket.aspx?admin=&cmd=%3CGlobal%20method=%27GetTicket%27%3E%3CUserId%3ETest%3C/UserId%3E%3C/Global%3E

Not applicable
Author

Hi All, We have used the same link to open the GetMeATicket10.htm to get the ticket details for a user,, but once u click on ticket button then down left hand side bottom of the tab it show a error dialog message saying like "Access Denied" sometime and Message:Permission Denied" So please let us know the reason why is it so? How can i resolve this issue? Using DMS mode we are working on it.Regards, Ravi.