Hello,
I am developing an app that needs to add an attachment (pdf file) and save it in the arcgis db. Anyone knows how to do that?
My rest service has the attachment value in True, but idk why this code doesnt do it.
This is part of my code:
myPropLayer.url = "myfeaturelayerurl";
myPropLayer.id = "NewEtaFeature";
myPropLayer.addAttachment(1,byteArrayToProcess,"ElemetopPDF","pdf",new AsyncResponder(resultado,malresultado));
function resultado():void{
Alert.show("saved");
}
function malresultado():void{
Alert.show("not saved");
}
Mensaje editado por: Evelyn Hernandez. new Question about attachments