<?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 Multiline image question custom file name only being applied to first photo in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1219793#M45220</link>
    <description>&lt;P&gt;I created a multiline annotate question with a custom file name expression in bind::esri::parameters:&lt;/P&gt;&lt;P&gt;fileName=concat(${facilityid},"_", format-date(${inspdate}, "%Y%m%d%H%M%S"),"_",position(..))&lt;/P&gt;&lt;P&gt;using the unique asset ID, an inspection date question, and to make sure it's a unique name, the number of the image in the multiline question.&lt;/P&gt;&lt;P&gt;When I test the form, the first photo I take gets named correctly, like:&lt;/P&gt;&lt;P&gt;999_202210060912_0.jpg&lt;/P&gt;&lt;P&gt;but then any additional photos revert to the default naming, like:&lt;/P&gt;&lt;P&gt;swBasInsp_image_20221006-091341.jpg&lt;/P&gt;&lt;P&gt;I found another &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/is-there-a-way-to-get-the-position-index-of/m-p/1108293/highlight/true#M38083" target="_blank" rel="noopener"&gt;post&lt;/A&gt; that says "position" only works with repeats, not multiline, but then shouldn't it throw an error instead of working for the first photo?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Survey Connect 3.15.178, tested on iPad and Android phone apps.&lt;/P&gt;&lt;P&gt;Survey in Enterprise 10.9.1 using a feature service referencing a SQL Server geodatabase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2022 12:59:51 GMT</pubDate>
    <dc:creator>Mark_Johnson</dc:creator>
    <dc:date>2022-10-07T12:59:51Z</dc:date>
    <item>
      <title>Multiline image question custom file name only being applied to first photo</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1219793#M45220</link>
      <description>&lt;P&gt;I created a multiline annotate question with a custom file name expression in bind::esri::parameters:&lt;/P&gt;&lt;P&gt;fileName=concat(${facilityid},"_", format-date(${inspdate}, "%Y%m%d%H%M%S"),"_",position(..))&lt;/P&gt;&lt;P&gt;using the unique asset ID, an inspection date question, and to make sure it's a unique name, the number of the image in the multiline question.&lt;/P&gt;&lt;P&gt;When I test the form, the first photo I take gets named correctly, like:&lt;/P&gt;&lt;P&gt;999_202210060912_0.jpg&lt;/P&gt;&lt;P&gt;but then any additional photos revert to the default naming, like:&lt;/P&gt;&lt;P&gt;swBasInsp_image_20221006-091341.jpg&lt;/P&gt;&lt;P&gt;I found another &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/is-there-a-way-to-get-the-position-index-of/m-p/1108293/highlight/true#M38083" target="_blank" rel="noopener"&gt;post&lt;/A&gt; that says "position" only works with repeats, not multiline, but then shouldn't it throw an error instead of working for the first photo?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Survey Connect 3.15.178, tested on iPad and Android phone apps.&lt;/P&gt;&lt;P&gt;Survey in Enterprise 10.9.1 using a feature service referencing a SQL Server geodatabase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 12:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1219793#M45220</guid>
      <dc:creator>Mark_Johnson</dc:creator>
      <dc:date>2022-10-07T12:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline image question custom file name only being applied to first photo</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1228258#M45827</link>
      <description>&lt;P&gt;Were you able to get a resolution to this? I am running into the same problem, only the first image gets&amp;nbsp; named as per the calculation. All the subsequent images revert back to the default.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 11:44:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1228258#M45827</guid>
      <dc:creator>JonahW</dc:creator>
      <dc:date>2022-11-03T11:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline image question custom file name only being applied to first photo</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1231556#M46028</link>
      <description>&lt;P&gt;Any news for when does this function will be available for multiline image? I'm having the same issue. The "filename="&amp;nbsp;&lt;SPAN&gt;expression in bind::esri::parameters only pass the first instance of the name and then return to the default value after the first image. (Connect 3.16 106)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;JB&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 03:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1231556#M46028</guid>
      <dc:creator>JoseBarrios1</dc:creator>
      <dc:date>2022-11-15T03:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline image question custom file name only being applied to first photo</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1231669#M46034</link>
      <description>&lt;P&gt;I just submitted a case to Support, I'll post the result here.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 12:54:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1231669#M46034</guid>
      <dc:creator>Mark_Johnson</dc:creator>
      <dc:date>2022-11-15T12:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline image question custom file name only being applied to first photo</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1233750#M46155</link>
      <description>&lt;P&gt;Also interested in this as all of our photo submissions have more than one file. Even just tacking a 1, 2, or 3 at the end of each subsequent file would work.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 14:19:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1233750#M46155</guid>
      <dc:creator>JasonJordan00</dc:creator>
      <dc:date>2022-11-21T14:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline image question custom file name only being applied to first photo</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1243998#M46710</link>
      <description>&lt;P&gt;Esri Support confirmed that "position" should not be used with multiline.&lt;/P&gt;&lt;P&gt;Their solution:&lt;/P&gt;&lt;P&gt;Create a note (I used calculate) question "img_cal" before your image question with calculation column:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;count-selected(${IMAGE QUESTION})+1​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference "img_cal" in your image question's bind::esri:parameters file formatting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;fileName=concat(${facilityid},"_", format-date(${inspdate}, "%Y%m%d"),"_",${img_cal})​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's working for me.&lt;/P&gt;&lt;P&gt;I also tried eliminating the separate question with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;fileName=concat(${facilityid},"_", format-date(${inspdate}, "%Y%m%d"),"_", count-selected(.)+1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which does NOT work.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 16:15:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1243998#M46710</guid>
      <dc:creator>Mark_Johnson</dc:creator>
      <dc:date>2022-12-28T16:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline image question custom file name only being applied to first photo</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1337834#M52270</link>
      <description>&lt;P&gt;WOW I am so glad I found this thread! I am shocked that this issue is not mentioned in any of the documentation I have been able to find about using images in S123.&lt;/P&gt;&lt;P&gt;NOT knowing about this could be extremely problematic for organizations using S123 to serve multiple clients with the same survey, should any one of those clients ever request the complete set of raw photos for a site/project/region/etc.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 17:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiline-image-question-custom-file-name-only/m-p/1337834#M52270</guid>
      <dc:creator>MattEdrich</dc:creator>
      <dc:date>2023-10-13T17:13:33Z</dc:date>
    </item>
  </channel>
</rss>

