<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SV:Re: Re. :SV:HTTP LOAD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213188#M66982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll definately check out curl. Always been looking for a better alternative &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 14:14:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-13T14:14:07Z</dc:date>
    <item>
      <title>HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213179#M66973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to retrieve table informations through web site HTTP connection.&lt;/P&gt;&lt;P&gt;It works fine with anonymous (public) web site but I don't know how to pass login/password for protected web site&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Régis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 09:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213179#M66973</guid>
      <dc:creator />
      <dc:date>2011-04-13T09:21:21Z</dc:date>
    </item>
    <item>
      <title>HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213180#M66974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this works for you:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/38794.aspx"&gt;http://community.qlik.com/forums/t/38794.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 09:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213180#M66974</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2011-04-13T09:46:07Z</dc:date>
    </item>
    <item>
      <title>SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213181#M66975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several ways to go about this. The ways I know of, you'll need a bit of macro code. You can choose to either save the web-site locally and then fetch the data from the tables, or run the macro within the script.&lt;/P&gt;&lt;P&gt;A logon macro that saves the HTML to files on disk could look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub RetrieveData&lt;BR /&gt;&lt;BR /&gt;dim FileName&lt;BR /&gt;dim FilePath&lt;BR /&gt;&lt;BR /&gt;FilePath = "C:\Storage\HTML\"&lt;BR /&gt;Set objShell = CreateObject("WScript.Shell")&lt;BR /&gt;&lt;BR /&gt;'Creates our IE object&lt;BR /&gt;Set IE = CreateObject("InternetExplorer.Application")&lt;BR /&gt;&lt;BR /&gt;'Browse to our url&lt;BR /&gt;IE.Navigate "http://www.randomdomain.com/login.aspx"&lt;BR /&gt;IE.Visible = False 'True if you want to see the process&lt;BR /&gt;&lt;BR /&gt;'wait for the page to load&lt;BR /&gt;Do While IE.Busy&lt;BR /&gt;Loop&lt;BR /&gt;&lt;BR /&gt;'log in to the site - the name of these inputboxes needs to be identified in the HTML-code&lt;BR /&gt;IE.Document.All.Item("txtUsername").Value = "JohnDoe"&lt;BR /&gt;IE.Document.All.Item("txtPassword").Value = "Abcd1234"&lt;BR /&gt;&lt;BR /&gt;'submit the page - the name of this button needs to be identified in the HTML-code&lt;BR /&gt;IE.Document.All.Item("LbtnNext").click&lt;BR /&gt;&lt;BR /&gt;'wait while the form is submitted and the resulting page is loaded.&lt;BR /&gt;Do While IE.Busy&lt;BR /&gt;Loop&lt;BR /&gt;&lt;BR /&gt;' Following code for each page to load and be saved to the proper folder&lt;BR /&gt; IE.Navigate "http://www.randomdomain.com/Data/Page1.aspx"&lt;BR /&gt;&lt;BR /&gt; 'wait for the page to load&lt;BR /&gt; Do While IE.Busy&lt;BR /&gt; Loop&lt;BR /&gt;&lt;BR /&gt; 'Assign the webpage results to a variable&lt;BR /&gt; sDocHTML = IE.Document.documentElement.innerhtml&lt;BR /&gt;&lt;BR /&gt; 'Assign path&lt;BR /&gt; FileName = FilePath &amp;amp; "SaveAsThisName.aspx.htm"&lt;BR /&gt;&lt;BR /&gt; 'Save the HTML&lt;BR /&gt; WriteFile FileName,sDocHTML&lt;BR /&gt;&lt;BR /&gt;' Repeating for each page, can be made more dynamic in case of multiple page retrieval&lt;BR /&gt;&lt;BR /&gt; IE.Navigate "http://www.randomdomain.com/Customers/Page2.aspx"&lt;BR /&gt;&lt;BR /&gt; 'wait for the page to load&lt;BR /&gt; Do While IE.Busy&lt;BR /&gt; Loop&lt;BR /&gt;&lt;BR /&gt; 'Assign the webpage results to a variable&lt;BR /&gt; sDocHTML = IE.Document.documentElement.innerhtml&lt;BR /&gt;&lt;BR /&gt; 'Assign path&lt;BR /&gt; FileName = FilePath &amp;amp; "AnotherSaveAsNameHere.aspx.htm"&lt;BR /&gt;&lt;BR /&gt; 'Save the HTML&lt;BR /&gt; WriteFile FileName,sDocHTML&lt;BR /&gt;&lt;BR /&gt;IE.Quit&lt;BR /&gt;&lt;BR /&gt;end sub&lt;BR /&gt;&lt;BR /&gt;' Function for writing contents to file&lt;BR /&gt;function WriteFile(sFilePathAndName,sFileContents)&lt;BR /&gt;&lt;BR /&gt; Const ForWriting = 2&lt;BR /&gt;&lt;BR /&gt; Set oFS = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt; Set oFSFile = oFS.OpenTextFile(sFilePathAndName,ForWriting,True)&lt;BR /&gt;&lt;BR /&gt; oFSFile.Write(sFileContents)&lt;BR /&gt; oFSFile.Close&lt;BR /&gt;&lt;BR /&gt; Set oFSFile = Nothing&lt;BR /&gt; Set oFS = Nothing&lt;BR /&gt;&lt;BR /&gt;End function&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I hope it helps you get started!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Jakob Berglund&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 09:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213181#M66975</guid>
      <dc:creator />
      <dc:date>2011-04-13T09:59:20Z</dc:date>
    </item>
    <item>
      <title>Re. :SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213182#M66976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;I have to look at these 2 solutions&lt;/P&gt;&lt;P&gt;About curl, I have tried with qlikcommunity with my login/password but i don't succeed&lt;/P&gt;&lt;P&gt;NAthanFurby, have you ever try to go to retrieve qlikcommunity web page with your login/password with curl ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 10:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213182#M66976</guid>
      <dc:creator />
      <dc:date>2011-04-13T10:36:02Z</dc:date>
    </item>
    <item>
      <title>Re. :SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213183#M66977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I have not tried accessing QlikView Community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 10:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213183#M66977</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2011-04-13T10:41:20Z</dc:date>
    </item>
    <item>
      <title>SV:Re. :SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213184#M66978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just so you can try it for yourself, in order to log in to QlikCommunity replace the appropriate part of my code above with this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;'log in to the site&lt;BR /&gt;IE.Document.All.Item("ctl00$ContentPlaceHolder1$txtUser").Value = "YourUserNameHere"&lt;BR /&gt;IE.Document.All.Item("ctl00$ContentPlaceHolder1$txtPassword").Value = "YourPasswordHere"&lt;BR /&gt;&lt;BR /&gt;'submit the page&lt;BR /&gt;IE.Document.All.Item("ctl00$ContentPlaceHolder1$Button1").click&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you want to see it working, you may also set the IE.visible to true instead of false.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Jakob Berglund&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 10:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213184#M66978</guid>
      <dc:creator />
      <dc:date>2011-04-13T10:59:40Z</dc:date>
    </item>
    <item>
      <title>Re. :SV:Re. :SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213185#M66979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 12:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213185#M66979</guid>
      <dc:creator />
      <dc:date>2011-04-13T12:48:16Z</dc:date>
    </item>
    <item>
      <title>Re. :SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213186#M66980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;qlikCommunity works without a password :-)But your browser uses a proxy . Pass than proxy to CURL and you're ready to go . As simple as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;curl --proxy 10.10.10.10:8080 http://community.qlik.com/&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;-Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 13:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213186#M66980</guid>
      <dc:creator />
      <dc:date>2011-04-13T13:30:38Z</dc:date>
    </item>
    <item>
      <title>Re. :SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213187#M66981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can't schedule tasks in QEMC / Windows Task Manager to run when you're not logged in using the VBscript above.&lt;/P&gt;&lt;P&gt;You know, &lt;B&gt;simple things should be easy. Complex things should be possible&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;Curl is able to script out complex scenarios, since 2002 and earlier.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;connecting to a web site&lt;/LI&gt;&lt;LI&gt;retrieve the needed form fields and random challenge (meant to prevent brute force password trials and spammers)&lt;/LI&gt;&lt;LI&gt;login and save cookie&lt;/LI&gt;&lt;LI&gt;navigate to inbox using the cookie above&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="http://curl.haxx.se/mail/archive-2002-03/0210.html"&gt;http://curl.haxx.se/mail/archive-2002-03/0210.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can google for more curl examples using form authentication,cookies, SharePoint.&lt;/P&gt;&lt;P&gt;-Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 13:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213187#M66981</guid>
      <dc:creator />
      <dc:date>2011-04-13T13:57:36Z</dc:date>
    </item>
    <item>
      <title>SV:Re: Re. :SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213188#M66982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll definately check out curl. Always been looking for a better alternative &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 14:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213188#M66982</guid>
      <dc:creator />
      <dc:date>2011-04-13T14:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213189#M66983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share your Qlikview file, I can;t get it working, How can I run run a macro in Load script. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 21:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213189#M66983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-28T21:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213190#M66984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Given link is not working! Please give tne exact link...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 07:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213190#M66984</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2012-08-28T07:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213191#M66985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jakob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share the QVW which contains this macro. Unfortunately I couldn't get it work. So I request you to attach the qvw which contains this macro. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;qlikviewforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 08:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213191#M66985</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2012-08-28T08:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: SV:Re. :SV:HTTP LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213192#M66986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried my level best but unfortunately couldn't able to succeed yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read some where about QVSource. Is it possible to load the data from secured sharepoint site using the same? Any help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;qlikviewforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 12:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HTTP-LOAD/m-p/213192#M66986</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2012-08-31T12:17:41Z</dc:date>
    </item>
  </channel>
</rss>

