Attachment attachment = new Attachment(featureSource, ID, "WaterMeter1.jpg");
How can i add atachment to a new feature?? in the documentation says Attachment attachment = new Attachment(featureSource, ID, "WaterMeter1.jpg");but how to get the id if it is a new feature ???. i need to add attchment on the same form .
i try this. but i get this error. it means tha the id that you said is a temporary id so it doesnt work to create attachments, i need to make this work with only one form, i wouldnt like have to create the feature and then selected to add the file. [ATTACH=CONFIG]29721[/ATTACH]
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.