if (featureayer.isEditable && featureayer.hasAttachments) { featureayer.addAttachment(selectedFeatureObjectID, document.getElementById("addImageForm"), function (result) { ... }, function (error) { ... });
Solved! Go to Solution.
Hi Shreyas,
Are you aware of any change in attachment option in 10.1, the reason I am asking this is as follows:
I am trying to upload a image from iOS 5 device to ArcGIS Feature service with help of picup (http://picupapp.com/).
With ArcGIS Server 10, I am able to add attachment however, when I point to same service published on ArcGIS Server 10.1 it does not work.
I am attaching the http request captured from wireshark for your reference. I do not see any difference between them but if you have any inputs some direction to solve this please share it with me.
[ATTACH=CONFIG]21133[/ATTACH]
[ATTACH=CONFIG]21134[/ATTACH]
Thanks,
Rahul