AnsweredAssumed Answered

Can an HTML file object be used directly as input for GP service?

Question asked by tereshenkov on May 3, 2015
Latest reply on May 4, 2015 by bdaigle

I have a GP service which takes as input a GPDataFile. I want to be able to upload a file from a local machine and then let a GP service to process it. This functionality is working as expected when I use the Upload Item with ArcGIS Server.


However I am wondering if this is really necessary. Is it possible to supply the html file object directly?


HTML code to browse to a file.


JavaScript code to get the file. Returns an File object.



Can this File object be given as input directly to a GP service which accepts GPDataFile as input?