漏洞 ID 编号 |
BUG-000151863 |
已提交 | August 25, 2022 |
上次修改时间 | December 19, 2024 |
适用范围 | ArcGIS Survey123 |
找到的版本 | 3.15 |
操作系统 | N/A |
操作系统版本 | N/A |
状态 | Under Consideration
该问题已由开发团队审核。 其尚未被优先纳入发布计划,但将对其进行监控以确定总体影响。 在优先级排序过程中考虑的因素包括受影响或请求功能的用户数量、业务影响、是否存在解决方法等。 如果漏洞对您的业务产生不利影响,请参阅“操作方法:升级缺陷”(https://support.esri.com/en/technical-article/000024129)。
|
解决办法
There are two workarounds for this issue:
- Use a different syntax to explicitly set the source to reference where the image is hosted. This workaround only works in the web app as the images do not display in the field app. For example:
- Replace <img src=${QUESTION_NAME}> with concat("<img src=https://www.arcgis.com/sharing/rest/content/items/SURVEY_FORM_ID/info/media/",${QUESTION_NAME},"?token=",pulldata("@property","token"),">")
- Replace <img src=image_name.png> with concat("<img src=https://www.arcgis.com/sharing/rest/content/items/SURVEY_FORM_ID/info/media/","image_name.png","?token=",pulldata("@property","token"),">")
- This workaround applies to the cases where different images must be displayed based on the answer to a previous question. Use the following alternative workflow:
- Add each image in a separate note question under the media::image column instead of the label. For example, 'Image_Name.png'.
- Add a relevant expression for each question to display based on the selected choice in the previous question. For example, ${Question_Name}=’Option1’.

重现步骤