<?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 Qlikview Extension - load html in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Extension-load-html/m-p/938404#M1233290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to load html snipped from html file which is located in the same folder as the extension using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14421146948603519 jive_text_macro" jivemacro_uid="_14421146948603519" modifiedtitle="true"&gt;
&lt;P&gt;var template_path = Qva.Remote + "?public=only&amp;amp;name=Extensions/TestExtension/";&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// ... Qva.AddExtension( ...&lt;/P&gt;
&lt;P&gt;$.ajax({&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; url: template_path + "test.html",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; type: "GET",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; dataType: "text",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; data: null,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; success: function (data) { &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('data: ' + data )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; },&lt;/P&gt;
&lt;P&gt;&amp;nbsp; error: function (error) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('error: ' + error)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the ajax call return an error:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14421147995354206" jivemacro_uid="_14421147995354206"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{"readyState":0,"responseXML":{},"responseText":"&amp;lt;div&amp;gt;TEST!&amp;lt;/div&amp;gt;","status":0,"statusText":"error"}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the "responseText" is returned but the overall ajax call is in error.&lt;/P&gt;&lt;P&gt;I've put my logic in the "error" part of the call and all works but this shouldn't be like this.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did&amp;nbsp; someone have any suggestions how to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Stefan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator>countnazgul</dc:creator>
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>Qlikview Extension - load html</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Extension-load-html/m-p/938404#M1233290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to load html snipped from html file which is located in the same folder as the extension using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14421146948603519 jive_text_macro" jivemacro_uid="_14421146948603519" modifiedtitle="true"&gt;
&lt;P&gt;var template_path = Qva.Remote + "?public=only&amp;amp;name=Extensions/TestExtension/";&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// ... Qva.AddExtension( ...&lt;/P&gt;
&lt;P&gt;$.ajax({&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; url: template_path + "test.html",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; type: "GET",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; dataType: "text",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; data: null,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; success: function (data) { &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('data: ' + data )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; },&lt;/P&gt;
&lt;P&gt;&amp;nbsp; error: function (error) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('error: ' + error)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the ajax call return an error:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14421147995354206" jivemacro_uid="_14421147995354206"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{"readyState":0,"responseXML":{},"responseText":"&amp;lt;div&amp;gt;TEST!&amp;lt;/div&amp;gt;","status":0,"statusText":"error"}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the "responseText" is returned but the overall ajax call is in error.&lt;/P&gt;&lt;P&gt;I've put my logic in the "error" part of the call and all works but this shouldn't be like this.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did&amp;nbsp; someone have any suggestions how to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Stefan &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/Qlikview-Extension-load-html/m-p/938404#M1233290</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
  </channel>
</rss>

