<?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: Pulldata() photos in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/1213772#M44887</link>
    <description>&lt;P&gt;This is a really clever idea - I'm not sure if I've seen anything like this before. It would be great to see how it works in practise! As for the question of the photo file path, have you tried using a function to assign the value of the variable? Something like:&lt;/P&gt;&lt;P&gt;photoFilePath = function(){&lt;/P&gt;&lt;P&gt;return "C:\\Users\\Public\\Pictures\\Sample Pictures\\Test.jpg";}&lt;/P&gt;&lt;P&gt;This way, the value of the photo file path would be assigned when the function is called, rather than when the form loads. &lt;A href="https://technoajeet.org/" target="_self"&gt;Let me know&lt;/A&gt; if this works or if you have any other questions! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 12:33:55 GMT</pubDate>
    <dc:creator>MatildaOkuneva</dc:creator>
    <dc:date>2022-09-19T12:33:55Z</dc:date>
    <item>
      <title>Pulldata() photos</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/836208#M19687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to standardise a question form that allows users to enter information about a structure (name and photo), the pulldata term then loads this information into the question form so the user can then answer questions about a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got this to work for the name, but not the file path. The photo file path is loaded in and stored as a variable,I've put the variable in the images column to try and load that file path (as it changes often), but this doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the photo is loaded at the start of the form, before the variable is assigned. Has anyone had any experience with this before?&lt;/P&gt;&lt;P&gt;Thanks - any advice would be useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 15:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/836208#M19687</guid>
      <dc:creator>OliverJefferies</dc:creator>
      <dc:date>2019-03-22T15:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata() photos</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/836209#M19688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oliver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to share your XLSForm so I can see&amp;nbsp;how your survey is structured?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some general info on images: To include an image in your survey it must be saved in the &lt;EM&gt;media&lt;/EM&gt; sub-folder of your survey project. An image can also be &lt;EM&gt;submitted&lt;/EM&gt; in your survey using an image question. Detailed information on using images in surveys is available here:&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformmedia.htm"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformmedia.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 04:20:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/836209#M19688</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-03-25T04:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata() photos</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/836210#M19689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to design a structure inspection tool that allows users to add in a photo and name for each structure into an excel workbook, the survey form then reads this into the survey and publishes the form. The user can then select the structure and see the photo and name of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this to be flexible so users can add whatever structures or photos they want - they're also not experienced in using S123 so I don't want it to be in the survey form excel workbook itself but more a separate 'simplified' workbook that the main form 'pulls' data from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-13153-structure-testxlsx"&gt;https://community.esri.com/docs/DOC-13153-structure-testxlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-13154-structuresxlsx"&gt;https://community.esri.com/docs/DOC-13154-structuresxlsx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 12:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/836210#M19689</guid>
      <dc:creator>OliverJefferies</dc:creator>
      <dc:date>2019-03-27T12:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata() photos</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/836211#M19690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oliver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the files and additional info. The &lt;EM&gt;media::image&lt;/EM&gt; column accepts an image filename only (including its extension). Calculations or references to other questions will not work in this column. Image files must be stored in the &lt;EM&gt;media&lt;/EM&gt; folder and published with your survey. The same applies to the &lt;EM&gt;image&lt;/EM&gt; column on the choices tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to display an image in a note&amp;nbsp;contingent on a previous answer would be to have a separate note for each, and make each of these notes&amp;nbsp;&lt;EM&gt;relevant&lt;/EM&gt; based on the previous answer. With this method the complete list of structures would have to be&amp;nbsp;specified on the choices tab, and the images would have to exist in the media folder of your survey. Alternatively, add the image filenames&amp;nbsp;to the image column on the choices tab; the user will then see a thumbnail image alongside each choice on the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If users are going to specify a new structure name and add a photo for each survey response, the survey could ask for these using&amp;nbsp;&lt;EM&gt;text&lt;/EM&gt; and &lt;EM&gt;image&lt;/EM&gt; questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I notice your Structures file is an Excel document; it must be in CSV format to work with pulldata. As with images, this CSV file&amp;nbsp;is&amp;nbsp;stored in the &lt;EM&gt;media&lt;/EM&gt; folder and published with your survey, so any changes to it would require the survey to be republished. For more information on using pulldata please see: &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps! Best regards, Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 04:22:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/836211#M19690</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-03-28T04:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata() photos</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/1213772#M44887</link>
      <description>&lt;P&gt;This is a really clever idea - I'm not sure if I've seen anything like this before. It would be great to see how it works in practise! As for the question of the photo file path, have you tried using a function to assign the value of the variable? Something like:&lt;/P&gt;&lt;P&gt;photoFilePath = function(){&lt;/P&gt;&lt;P&gt;return "C:\\Users\\Public\\Pictures\\Sample Pictures\\Test.jpg";}&lt;/P&gt;&lt;P&gt;This way, the value of the photo file path would be assigned when the function is called, rather than when the form loads. &lt;A href="https://technoajeet.org/" target="_self"&gt;Let me know&lt;/A&gt; if this works or if you have any other questions! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 12:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-photos/m-p/1213772#M44887</guid>
      <dc:creator>MatildaOkuneva</dc:creator>
      <dc:date>2022-09-19T12:33:55Z</dc:date>
    </item>
  </channel>
</rss>

