I am hoping someone can help me. I am trying to get exif information from photo attachments for use in a pop-up. Mainly the date the photo was taken.
I am using this code snippet, repurposed from the support site, but am not having any luck as it just returns nulls.
var features = [];
var att = attachments($feature, {metadata: True});
if (count(att) > 0) {
for (var a in att) {
push(features, att[a].exifinfo)
}}
return features;
If I change att[a].exifinfo to att[a].name, I get a result (see image). I am at a loss so any help would be greatly appreciated. Thanks
Solved! Go to Solution.
Turns out I needed to delve into the return a bit more .
Turns out I needed to delve into the return a bit more .