Select to view content in your preferred language

Feature report attachment size

163
1
07-14-2025 12:13 AM
Labels (1)
TjeerdBruijn
Emerging Contributor

Hello,

 

I have a question about the feature report function in the Experience Builder.

I want to use the feature report for a feature layer, and not the survey.

When i use the attachment syntax, i can't find out how to set a maximum size for the photo's. for 1 photo i can do it, but when i want to iterate the attachtments, it doesn't work.

Does any one know how to fix this?

This is the syntax what i found from the help

${#$attachment | attachmentsDefExp:"CONTENT_TYPE like '%image%'"} ${$file} ${/}

 

And second question; Is it possible to place the images side by side instead of stacking them vertically?

 

Thank you very much

0 Kudos
1 Reply
Ruth_JiatengXu
Esri Regular Contributor

Hi @TjeerdBruijn ,

Thanks for sharing here! You could use ${#$attachment}${$file| size:300:0 }${/} to set the maximum width of the images.

If you need the images side by side, please ensure there is no line break after ${$file| size:300:0 } in your template.

Thanks,

Ruth

 

0 Kudos