0 Replies Latest reply: Sep 12, 2015 11:36 PM by Stefan Stoichev RSS

    Qlikview Extension - load html

    Stefan Stoichev

      I'm trying to load html snipped from html file which is located in the same folder as the extension using the following code:


      var template_path = Qva.Remote + "?public=only&name=Extensions/TestExtension/";
      // ... Qva.AddExtension( ...
        url: template_path + "test.html",      
        type: "GET",
        dataType: "text",
        data: null,
        success: function (data) { 
           console.log('data: ' + data )
        error: function (error) {
           console.log('error: ' + error)


      But the ajax call return an error:



      As you can see the "responseText" is returned but the overall ajax call is in error.

      I've put my logic in the "error" part of the call and all works but this shouldn't be like this. 


      Did  someone have any suggestions how to fix this?