0 Replies Latest reply on May 11, 2016 6:14 AM by jtrapeze

    How do you load app included files through XMLHttpRequest


      Is there any way to load xml files that are included in the app folder with the jive hosted app. I am trying to use XMLHttpRequest, but that doesn't find the file properly with a relative path. Is there any other way to get these files? Can they be loaded as resources?


      An example is:

      xhttp = new XMLHttpRequest();
      xhttp.open("GET", "MyDataFile.xml");


      Where MyDataFile.xml is in the app folder.