Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

CGI-Encode and HTTP-Calls in QV 10

Hi all,

i found a instruction in the manual for CGI-Encoder and HTTP-Calls (Manual Page 249). But i can't find the functions in QlikView 10.
Which version has these features? How can I use the functions in QV 10?

Thanks!!!

1 Solution

Accepted Solutions
Not applicable
Author

Hi all,

here is the Solution:


Sub httpRequest
m_Post = "inputField=inputValue"
m_Url = "http://www.mydomain.com"

Set objHTTP = CreateObject("Microsoft.XMLHTTP")
objHTTP.open "POST", m_Url, False
objHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objHTTP.send m_Post

ActiveDocument.GetSheetObject("TX03").SetText objHTTP.responseText
Set objHTTP = Nothing

End Sub


View solution in original post

2 Replies
Not applicable
Author

Sorry, i mean the manual from QlikView 9,
but i also can't find the function in qv9

any idea?

Not applicable
Author

Hi all,

here is the Solution:


Sub httpRequest
m_Post = "inputField=inputValue"
m_Url = "http://www.mydomain.com"

Set objHTTP = CreateObject("Microsoft.XMLHTTP")
objHTTP.open "POST", m_Url, False
objHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objHTTP.send m_Post

ActiveDocument.GetSheetObject("TX03").SetText objHTTP.responseText
Set objHTTP = Nothing

End Sub