Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

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

Tags (1)
1 Solution

Accepted Solutions
danielrozental
Honored Contributor II

Ticketing with QV 10

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.

6 Replies
danielrozental
Honored Contributor II

Ticketing with QV 10

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

Ticketing with QV 10

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

Thanks

danielrozental
Honored Contributor II

Ticketing with QV 10

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

Ticketing with QV 10

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
Valued Contributor

Ticketing with QV 10

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

Not applicable

Ticketing with QV 10

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 MessageSmiley Tongueermission 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.