Hi,
I'm wondering if I'm doing something wrong. I have captured a photo in Survey123 (stored as a BLOB in the related attachment table). I have created a template in Survey123 online to display the photo in the generated MS word report using ${SITEPHOTO | size:300:300}. When i generate the report I'm getting a placeholder with "can not find image". Is there anything more I need to do to display the photo?
Michelle
Hi Michelle,
How did you create your feature service and enable attachments? Was it created via Connect when creating the survey, or are you using an existing feature service that you have connected the survey to?
Can you confirm you are able to see the image attachment in a webmap in AGOL?
Regards,
Phil.
Hi Phil,
I created the point feature class in our Enterprise Geodatabase and enabled attachments on it (which created a related table of attachments and a relationship class). I published the layer as a feature service and created a survey in Survey123 Connect based on the feature service. I added an image question for the photo and published the survey. I can complete and submit a survey and take photos ok and can see them in a web map in AGOL.
What fields (name and type) are you using in the relationship class for feature class and the related table with attachments?
When I enabled attachments on the survey layer in ArcCatalog it automatically created an attachment table with REL_OBJECTID (data type long int 10) and a relationship class with PK: OBJECTID on the survey layer and FK: REL_OBJECTID on the attachment table.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.