<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Survey123- add default image referenced by another field in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-add-default-image-referenced-by-another/m-p/1052569#M34231</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/157371"&gt;@JonahW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The media::image column accepts a file name (with extension) only - you cannot use expressions in this column.&lt;/P&gt;&lt;P&gt;One way to approach this would be to have a separate note question for each image, then use an expression in the relevant column to show the note that corresponds to the selected flush day, e.g. ${flush_day} = 'Monday_1'.&lt;/P&gt;&lt;P&gt;Another approach would be to include an image for each choice in the FlushDay choice list by adding file names to the media::image column on the choices sheet; this will show the image as a thumbnail alongside each choice for the select_one question. Tapping/clicking on the thumbnail will open it in full-screen. Note that file names are case-sensitive in XLSForm so be sure to enter these exactly.&lt;/P&gt;&lt;P&gt;Check out the &lt;STRONG&gt;Media&lt;/STRONG&gt; sample XLSForm in Connect for a demo and also the &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformmedia.htm#GUID-22BCA2FE-B1F5-428A-B616-1623D0D46A82" target="_self"&gt;Media documentation&lt;/A&gt; for more.&lt;/P&gt;&lt;P&gt;Hope this helps! Best, Jim&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 02:29:15 GMT</pubDate>
    <dc:creator>Jim-Moore</dc:creator>
    <dc:date>2021-04-29T02:29:15Z</dc:date>
    <item>
      <title>Survey123- add default image referenced by another field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-add-default-image-referenced-by-another/m-p/1051880#M34181</link>
      <description>&lt;P&gt;I want to be able to include several default images in a survey for hydrant flushing. Each day the operator selects a flushing day (M-F) and I would like to be able to display a .JPG that shows the workflow for that particular day. Is there a way to construct the name of the image in the media::image column using the answer from another question? So for example, I use a select_one to capture the flushing day. Can I use this value somehow to display the corresponding .JPG I have created in the media file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using ${flush_day}.JPG in the media::image column but that didn't work.&amp;nbsp; &amp;nbsp;Can I use an if statement somehow? I have 10 different schedules (M-F, and two crews). Would I need to do that in a separate calculate question first?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 18:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-add-default-image-referenced-by-another/m-p/1051880#M34181</guid>
      <dc:creator>JonahW</dc:creator>
      <dc:date>2021-04-27T18:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123- add default image referenced by another field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-add-default-image-referenced-by-another/m-p/1052569#M34231</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/157371"&gt;@JonahW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The media::image column accepts a file name (with extension) only - you cannot use expressions in this column.&lt;/P&gt;&lt;P&gt;One way to approach this would be to have a separate note question for each image, then use an expression in the relevant column to show the note that corresponds to the selected flush day, e.g. ${flush_day} = 'Monday_1'.&lt;/P&gt;&lt;P&gt;Another approach would be to include an image for each choice in the FlushDay choice list by adding file names to the media::image column on the choices sheet; this will show the image as a thumbnail alongside each choice for the select_one question. Tapping/clicking on the thumbnail will open it in full-screen. Note that file names are case-sensitive in XLSForm so be sure to enter these exactly.&lt;/P&gt;&lt;P&gt;Check out the &lt;STRONG&gt;Media&lt;/STRONG&gt; sample XLSForm in Connect for a demo and also the &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformmedia.htm#GUID-22BCA2FE-B1F5-428A-B616-1623D0D46A82" target="_self"&gt;Media documentation&lt;/A&gt; for more.&lt;/P&gt;&lt;P&gt;Hope this helps! Best, Jim&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 02:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-add-default-image-referenced-by-another/m-p/1052569#M34231</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2021-04-29T02:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123- add default image referenced by another field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-add-default-image-referenced-by-another/m-p/1052641#M34236</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;Thank you for your suggestions! I actually did try the second option you mentioned and it worked well, but I might try the first approach as it would not require the operator to click on the image. Plus keeping the schedule visible while filling out the survey is what I was after.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alina&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 10:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-add-default-image-referenced-by-another/m-p/1052641#M34236</guid>
      <dc:creator>JonahW</dc:creator>
      <dc:date>2021-04-29T10:24:02Z</dc:date>
    </item>
  </channel>
</rss>

