Select to view content in your preferred language

Displaying the media::image in survey123 reporting

213
2
Jump to solution
10-03-2024 09:45 AM
AudraPayne1
Occasional Contributor

I have a very large survey 123 report and I want my field which is a select one to show the media::Image that goes with it in my survey 123 report, it does not to be as simple as I thought it would be.

Thank you,

Audra

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
ChristopherCounsell
MVP Regular Contributor

You can add an image and point it to a service URL that matches your field value:

 ${$image | src:"https://anyserver.com/dynamicpage.ashx?data=" + my_field}!

This won't be your media::Image. It's part of the survey form and doesn't get submitted to the survey data. You would need to manually construct the URL to a publicly accessible image.

You could achieve the same thing using conditional report elements; showing an image URL based on the if statement

https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereporttemplates.htm#ESRI_SECTION1...

 

 

 

View solution in original post

0 Kudos
2 Replies
ChristopherCounsell
MVP Regular Contributor

You can add an image and point it to a service URL that matches your field value:

 ${$image | src:"https://anyserver.com/dynamicpage.ashx?data=" + my_field}!

This won't be your media::Image. It's part of the survey form and doesn't get submitted to the survey data. You would need to manually construct the URL to a publicly accessible image.

You could achieve the same thing using conditional report elements; showing an image URL based on the if statement

https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereporttemplates.htm#ESRI_SECTION1...

 

 

 

0 Kudos
AudraPayne1
Occasional Contributor

thank you, Christopher! This was very helpful and worked 🙂

0 Kudos