Attachment attachment = new Attachment(featureSource, ID, "WaterMeter1.jpg");
How can i add atachment to a new feature?? in the documentation saysAttachment 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]