I have a survey with multiple photos possible.
In my word docx template I have the following which will include all photos taken.
${#picture_of_front_yard}${$file | size:150:0}${/}
I'd like to do two things.
Thank you,
Mele
Solved! Go to Solution.
I don't use Survey123 for reporting anymore, but I reckon you could get creative with concatenating the image with a string to achieve the kind of border I think you are describing. Totally untried guess here, but something like
${if picture_of_front_yard}${#picture_of_front_yard}${$file | size:150:0}+ ${/}${/}
You may have to jigger the location of the + and the empty space following it, I'm not sure if the classic empty string ( '' or "" ) would work here.
Also, just a friendly suggestion, when I was working in Survey123 reports I found it insanely useful to color-code my content-control logic (like the blue text above) so that maintaining templates and changing them over time was less of a lift in the long run.
This worked for hiding the image section if no images exist. Just need the border if anyone has suggestions
${if picture_of_front_yard}${#picture_of_front_yard}${$file | size:150:0}${/}${/}
In the body::esri:style column for the group with images, you can add borderColor ="white", or whatever html color name hex code you want. I don't think this works in grid style though. Also doesn't work in the web app.
I don't use Survey123 for reporting anymore, but I reckon you could get creative with concatenating the image with a string to achieve the kind of border I think you are describing. Totally untried guess here, but something like
${if picture_of_front_yard}${#picture_of_front_yard}${$file | size:150:0}+ ${/}${/}
You may have to jigger the location of the + and the empty space following it, I'm not sure if the classic empty string ( '' or "" ) would work here.
Also, just a friendly suggestion, when I was working in Survey123 reports I found it insanely useful to color-code my content-control logic (like the blue text above) so that maintaining templates and changing them over time was less of a lift in the long run.
Thank you @MattEdrich I will give that a try the suggestion. I also like your idea of using the color coding. Working in Word is no fun to begin with and then even more compounding when adding these tags.
Thank you @MattEdrich I am still playing around but your idea makes space as I wanted. One thing I did was make the font 'white' and it looks good. Thank you for the suggestion.