AnsweredAssumed Answered

Adding attachments to feature service hosted on ArcGIS Online

Question asked by aneeqa.abrar on Dec 1, 2017
Latest reply on Dec 5, 2017 by NManocha-esristaff

I want to add the photo taken by the user. The attachment needs to be directly sent to the feature service. 

According to an example in edit feature attachment - it's done using selectedFeature.attachments.addAttachment but in my case it's not to be uploaded using the picture chooser. Something like featureTable.attachments.addAttachment 

But that isn't working for me.