1 Reply Latest reply on Mar 27, 2017 1:37 PM by yonatanl25270460

    Reading a file in a panel script

    yonatanl25270460 Level 1

      Hi I'm trying to read a file from a panel script using "FileReader" and I'm getting an error that it can't access the constructor

      I'm trying to read a file from a panel script using "FileReader" and I'm getting an error that it can't access the constructor

       

      The line that is failing is

      var r = new FileReader();

       

      Is FileReader supported ?

      If not is there another way to read a file (a JSON file in my private format)

      Thanks