laptop and a wrench

不具合

The ArcGIS Survey123 web app does not display the images added to the label of a note question using the img tag. Dynamic file name not supported with img tags.

最後に公開された状態: October 1, 2022 ArcGIS Survey123
不具合 ID 番号 BUG-000151863
送信されましたAugust 25, 2022
最終更新日December 19, 2024
適用対象ArcGIS Survey123
見つかったバージョン3.15
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスUnder Consideration

対処法

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’.

Survey_Workaround_Image.png

再現の手順

不具合 ID: BUG-000151863

ソフトウェア:

  • ArcGIS Survey123

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動