Hello.
The map in our Experience includes a layer with attachments enabled. When performing an 'Edit' widget query, the queryAttachments query string includes the argument 'keywords=photos'. Because none of our attachments have keywords, no attachments are returned. When doing an 'Info' widget query, 'keywords' is not included in the query string so the associated images/attachments are returned as expected.
Edit URL:
https://services2.arcgis.com/<foo>/arcgis/rest/services/<bar>/FeatureServer/0/queryAttachments?f=json&token=<token>&keywords=photos&objectIds=145934&returnMetadata=true
Info URL:
https://services2.arcgis.com/<foo>/arcgis/rest/services/<bar>/FeatureServer/0/queryAttachments?f=json&token=<token>&objectIds=145934
So a couple of questions:
- Why does the Edit query include the keywords query paramater?
- Can we configure the Edit query so it does not include the keywords query parameter? If not, can we configure what the keywords value is - maybe setting it to empty string?
- Is there a way that we can update our attachments (1000s of them) to set a keywords value? How can we set the attachments keywords value on future attachments added to the layer?
Thank you.