<?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: Extending Survey123 smart forms JS functions image parameter in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/extending-survey123-smart-forms-js-functions-image/m-p/1120856#M38891</link>
    <description>&lt;P&gt;Hi. It is not possible to pass the encoded image into a custom JS function. Additionally, it will be very difficult for you to control when exactly your JS function executes, causing multiple uploads of your image to your service.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As alternatives:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You could create a &lt;A href="https://developers.arcgis.com/survey123/guide/add-ins/" target="_blank" rel="noopener"&gt;custom add-in&lt;/A&gt; for the field app.&lt;/LI&gt;&lt;LI&gt;You could use workflow automation (Integromat or Power Automate) to process the image once the survey is sent&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Mon, 29 Nov 2021 17:14:05 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2021-11-29T17:14:05Z</dc:date>
    <item>
      <title>Extending Survey123 smart forms JS functions image parameter</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/extending-survey123-smart-forms-js-functions-image/m-p/1120437#M38880</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to use the javascript extension to send an image to an external API for analysis. when I try to send the image as a parameter with the pulldata (ex: pulldata ("@ javascript", "myFunctions.js" ", $ {image}), I get the name of the image on the javascript side.&lt;/P&gt;&lt;P&gt;Do you have a solution for me to transmit the complete image (encoded 32 or 64) on the javascript side?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 14:30:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/extending-survey123-smart-forms-js-functions-image/m-p/1120437#M38880</guid>
      <dc:creator>SébastienFancelli</dc:creator>
      <dc:date>2021-11-26T14:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Survey123 smart forms JS functions image parameter</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/extending-survey123-smart-forms-js-functions-image/m-p/1120856#M38891</link>
      <description>&lt;P&gt;Hi. It is not possible to pass the encoded image into a custom JS function. Additionally, it will be very difficult for you to control when exactly your JS function executes, causing multiple uploads of your image to your service.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As alternatives:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You could create a &lt;A href="https://developers.arcgis.com/survey123/guide/add-ins/" target="_blank" rel="noopener"&gt;custom add-in&lt;/A&gt; for the field app.&lt;/LI&gt;&lt;LI&gt;You could use workflow automation (Integromat or Power Automate) to process the image once the survey is sent&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 29 Nov 2021 17:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/extending-survey123-smart-forms-js-functions-image/m-p/1120856#M38891</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2021-11-29T17:14:05Z</dc:date>
    </item>
  </channel>
</rss>

