copied from API doc samples
https://developers.arcgis.com/javascript/jssamples/ed_attachments.html
relative path needed here
initial scaffold for attachments handling
some comments about what needs to be done
code cleanup
renamed attachmentStore.js file
low level functions in attachmentsStore.js
unit testing fo attachmentsStore.js
changed properties of stored attachments to mimic return values of queryAttachmentInfos REST API
delete all attachments after testing
already read file(s) from input node into string(s)
store attachments in local storage
query them when showing the popup (can't display them though)
noticed a potential problem if we have multiple input nodes or multiple files
store featurelayerurl along with attachment, so that we can keep attachments for different feature layers in the same indexeddb objectstore
comments for next steps
reminder of task to do
new method to delete all attachments of a feature
started writing unit tests for attachment management
copied from API doc samples
https://developers.arcgis.com/javascript/jssamples/ed_attachments.html
relative path needed here