<?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 Re: ajax to php in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711843#M1241093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So good news i have a working extension.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;So here my latest insight on this topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. the code is fine&lt;/P&gt;&lt;P&gt;2. sending data to php (localhost) file is possible (I am now using the XMLHttpRequest method)&lt;/P&gt;&lt;P&gt;3. getting data directly back from php (localhost) seems not possible. ( Is it a security issue?, maybe because it's not the same domain?) So this the problem.&lt;/P&gt;&lt;P&gt;4. getting data with XMLHttpRequest from QV-extension folder is possible&lt;/P&gt;&lt;P&gt;--&amp;gt;so I build a workaround for getting data from php/localhost:&lt;/P&gt;&lt;P&gt;php creates a texttfile in QV-extension folder then getting data with XMLHttpRequest &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get a graps what I am talking about here is a picture of my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/68453_pastedImage_55.png" style="width: 620px; height: 215px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;So the main-goal is to connect to MySQL via QV-extension.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Maybe someone have some ideas or insight on this topic.&lt;/P&gt;&lt;P&gt;I know there are extension writing to SQL Server. But there not working yet on my system.&lt;/P&gt;&lt;P&gt;I need to debug them with Visual Studio and I know I can connect with VS to MySQL to, so maybe I will try this&amp;nbsp; sometime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am happy about any suggestion &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regard&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 21:33:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-07T21:33:59Z</dc:date>
    <item>
      <title>ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711838#M1241080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to use a ajax request in QlikView Extension to get a php file.&lt;/P&gt;&lt;P&gt;I get this error message in QlikView when I run the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" height="115" src="https://community.qlik.com/legacyfs/online/67827_pastedImage_0.png" style="width: auto; height: auto;" width="129" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what the problem is.&lt;/P&gt;&lt;P&gt;I hope someon can help me with this?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using:&lt;/P&gt;&lt;P&gt;localhost (Apache)&lt;/P&gt;&lt;P&gt;QlikView Personal Edition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my QlikView script.js: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/67828_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is my PHP script on localhost:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/67832_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here the result when I use the url with my Browser: (so my Apache is working)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/67833_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried many different possibilities and I also tried an XMLHttpRequest which doesn`t work.&lt;/P&gt;&lt;P&gt;So I hope somebody out there can help my with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711838#M1241080</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711839#M1241083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure exactly why your code is not working as it seems pretty straightforward to me. Try debuggin with fiddler if you have not already done so. I've implemented once something similar, however using a WCF service to host the web service. I've summarized my code into a small demo here: &lt;A href="https://community.qlik.com/docs/DOC-5970"&gt;SQL Writeback from QlikView extension object.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this may help or point you into the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Sep 2014 22:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711839#M1241083</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-09-28T22:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711840#M1241086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the code with my Browser and it worked. I don´t get it how to use ajax in a fiddle so i can`t use that. I think there is a problem with the setup. I am going to trie the extension on a other machine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the Writeback extension and the Guide, seems very nice &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so far&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711840#M1241086</guid>
      <dc:creator />
      <dc:date>2014-09-29T11:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711841#M1241089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Lars,&lt;BR /&gt;If you have access to a QlikView server try to test the extension on it.&lt;/P&gt;&lt;P&gt;I have had tons of problems doing http gets from within the desktop client but it has worked perfectly on the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 17:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711841#M1241089</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2014-09-29T17:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711842#M1241091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, definitely I am going to try it on QV server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 19:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711842#M1241091</guid>
      <dc:creator />
      <dc:date>2014-09-29T19:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711843#M1241093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So good news i have a working extension.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;So here my latest insight on this topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. the code is fine&lt;/P&gt;&lt;P&gt;2. sending data to php (localhost) file is possible (I am now using the XMLHttpRequest method)&lt;/P&gt;&lt;P&gt;3. getting data directly back from php (localhost) seems not possible. ( Is it a security issue?, maybe because it's not the same domain?) So this the problem.&lt;/P&gt;&lt;P&gt;4. getting data with XMLHttpRequest from QV-extension folder is possible&lt;/P&gt;&lt;P&gt;--&amp;gt;so I build a workaround for getting data from php/localhost:&lt;/P&gt;&lt;P&gt;php creates a texttfile in QV-extension folder then getting data with XMLHttpRequest &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get a graps what I am talking about here is a picture of my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/68453_pastedImage_55.png" style="width: 620px; height: 215px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;So the main-goal is to connect to MySQL via QV-extension.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Maybe someone have some ideas or insight on this topic.&lt;/P&gt;&lt;P&gt;I know there are extension writing to SQL Server. But there not working yet on my system.&lt;/P&gt;&lt;P&gt;I need to debug them with Visual Studio and I know I can connect with VS to MySQL to, so maybe I will try this&amp;nbsp; sometime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am happy about any suggestion &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regard&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 21:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711843#M1241093</guid>
      <dc:creator />
      <dc:date>2014-10-07T21:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711844#M1241095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like quite a workaround! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; But good job on making it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you contemplated using post method instead of get?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 09:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711844#M1241095</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-10-08T09:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711845#M1241096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am already using post (know). So yes I did and I need to because of the amount of data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 19:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711845#M1241096</guid>
      <dc:creator />
      <dc:date>2014-10-08T19:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711846#M1241097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share example and steps for same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711846#M1241097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: ajax to php</title>
      <link>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711847#M1241098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any alternative than xampp for running extension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 07:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ajax-to-php/m-p/711847#M1241098</guid>
      <dc:creator>mayuringale25</dc:creator>
      <dc:date>2018-10-22T07:30:24Z</dc:date>
    </item>
  </channel>
</rss>

