<?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: Pulling attachments from a feature layer into a survey. in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-attachments-from-a-feature-layer-into-a/m-p/1569321#M60545</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/66465"&gt;@DarrenSchouls&lt;/a&gt;&amp;nbsp;- try this method with the attached example.&lt;/P&gt;&lt;P&gt;1) Create a calculated field with a js function (myData.js) to lookup the previous event for the site (in the example case - the "site" is sample_point_guid which we use to get a list of all inspections with that guid, sorted by a field that would get you the most recent. In the js, use&amp;nbsp;queryAttachments syntax to return an attachment URL.&lt;/P&gt;&lt;P&gt;2) Add a note field with the link to the attachment&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 14:53:28 GMT</pubDate>
    <dc:creator>JJ_Reyes</dc:creator>
    <dc:date>2024-12-17T14:53:28Z</dc:date>
    <item>
      <title>Pulling attachments from a feature layer into a survey.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-attachments-from-a-feature-layer-into-a/m-p/1564185#M60337</link>
      <description>&lt;P&gt;I'm working on a site inspection survey for over 3000 sites and an important aspect is including a site photo from a previous inspection. I have a feature layer of all the assessment points on AGO and they have a photo attached to each point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to link the feature layer to the survey using the unique Site ID, so when the user enters the site ID the survey pulls the attachment from that point into the survey. Can this be done? Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! Darren&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 17:37:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-attachments-from-a-feature-layer-into-a/m-p/1564185#M60337</guid>
      <dc:creator>DarrenSchouls</dc:creator>
      <dc:date>2024-12-03T17:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling attachments from a feature layer into a survey.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-attachments-from-a-feature-layer-into-a/m-p/1564300#M60341</link>
      <description>&lt;P&gt;I've tried using pulldata('@layer', FeatureServiceURL, 'attachments', 'Site_ID', ${SiteID}) but nothing appears in the image field. Both the survey and the feature layer are shared with the same group so there shouldnt be any permission issues.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 19:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-attachments-from-a-feature-layer-into-a/m-p/1564300#M60341</guid>
      <dc:creator>DarrenSchouls</dc:creator>
      <dc:date>2024-12-03T19:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling attachments from a feature layer into a survey.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-attachments-from-a-feature-layer-into-a/m-p/1569321#M60545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/66465"&gt;@DarrenSchouls&lt;/a&gt;&amp;nbsp;- try this method with the attached example.&lt;/P&gt;&lt;P&gt;1) Create a calculated field with a js function (myData.js) to lookup the previous event for the site (in the example case - the "site" is sample_point_guid which we use to get a list of all inspections with that guid, sorted by a field that would get you the most recent. In the js, use&amp;nbsp;queryAttachments syntax to return an attachment URL.&lt;/P&gt;&lt;P&gt;2) Add a note field with the link to the attachment&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 14:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-attachments-from-a-feature-layer-into-a/m-p/1569321#M60545</guid>
      <dc:creator>JJ_Reyes</dc:creator>
      <dc:date>2024-12-17T14:53:28Z</dc:date>
    </item>
  </channel>
</rss>

