AnsweredAssumed Answered

add shapefile arcgis javascript4.1 api issues

Question asked by DanDanAus on Nov 19, 2016
Latest reply on Nov 21, 2016 by rscheitlin

Dear all 

 

I have been trying to get this example that works great for 3.18API but not in 4.1.

 

Example: Add shapefile | ArcGIS API for JavaScript 3.18 

 

When i implement this in the 4.1 API the shapefile seems to be posted to the portal endpoint but for some reason it does not complete and thrown an exception that a name parramets is not there. But i can clearly see that the parrameter is there in the POST.

 

Has anyone got this working?

 

I dont really got to creating a GP tool to do the same task if this can be leveraged to what portal exposes in the sharing API.

 

Sincerely

Dan

Outcomes