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
Darko,
I am not seeing any ability for the JS API 4.1 version of the request class to use a form. That would be an issue for that sample.
Is there any workaround that you are aware of to get something like this going?
or should i revert to using the GP call approach?
Darko,
Until the 4.x api gets more mature you should just use 3.x or a gp.