<?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: Preloading secondary geometry in Survey123 Advanced forms in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/preloading-secondary-geometry-in-survey123/m-p/1602692#M62007</link>
    <description>&lt;P&gt;I'm not quite sure of the workflow but it sounds like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You use a null geometry field&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;You calculate a text field from the null geometry&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;You use the inbox to edit the same feature and are having issues as the null geometry isn't visible&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Null values don't get submitted and won't get stored.&lt;/P&gt;&lt;P&gt;The inbox url doesn't support field parameters. &lt;EM&gt;field:aangemaaktOp=&lt;/EM&gt; won't do anything.&lt;/P&gt;&lt;P&gt;I think it's best not to rely on null fields or field parameters with the inbox. Gets messy. Better to leverage related tables somehow.&lt;/P&gt;&lt;P&gt;You could consider using using the pulldata property function to detect if the inbox is in use:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_FC295EA0A9354DCFA970B1D0B30D4DF4" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_FC295EA0A9354DCFA970B1D0B30D4DF4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could display the location again but I think any scenario where you want to allow the second geometry to be edited (and thereby calculated) would cause a loop.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 10:59:32 GMT</pubDate>
    <dc:creator>ChristopherCounsell</dc:creator>
    <dc:date>2025-04-04T10:59:32Z</dc:date>
    <item>
      <title>Preloading secondary geometry in Survey123 Advanced forms</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/preloading-secondary-geometry-in-survey123/m-p/1602686#M62006</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;At my client we maintain a survey in Survey123 to gather all kinds of rail related issues. In some cases we need a secondary geometry for a begin point and an end point. Therefore we use the option to fill in a first geometry and a secondary geometry (bind::esri:fieldType=null). We extract the secondary point geometry into a text field with a calculation :&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;pulldata('@geopoint',${pointgeomEnd}, 'DD')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The secondary geometry is mandatory.&amp;nbsp;However we allow the users to edit the feature by linking back to the map with this code for the popUp:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;p&amp;gt;
    &amp;lt;a target="_blank" rel="noopener noreferrer" href="https://survey123.arcgis.app?itemID={survey_item_id}&amp;amp;amp;update=true&amp;amp;amp;download=true&amp;amp;amp;action=edit&amp;amp;amp;q:globalId={globalid}&amp;amp;amp;field:aangemaaktOp="&amp;gt;Gebrek bewerken&amp;lt;/a&amp;gt;
&amp;lt;/p&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first geometry is preloaded, but the secondary geometry stays null. I understand why, but how can I get this preloaded? Is there another field/calculation that I can add?&lt;/P&gt;&lt;P&gt;To illustrate I have added the example excel in the attachments.&lt;/P&gt;&lt;P&gt;Hope someone has encountered this before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 10:03:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/preloading-secondary-geometry-in-survey123/m-p/1602686#M62006</guid>
      <dc:creator>BekirKoncak</dc:creator>
      <dc:date>2025-04-04T10:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Preloading secondary geometry in Survey123 Advanced forms</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/preloading-secondary-geometry-in-survey123/m-p/1602692#M62007</link>
      <description>&lt;P&gt;I'm not quite sure of the workflow but it sounds like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You use a null geometry field&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;You calculate a text field from the null geometry&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;You use the inbox to edit the same feature and are having issues as the null geometry isn't visible&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Null values don't get submitted and won't get stored.&lt;/P&gt;&lt;P&gt;The inbox url doesn't support field parameters. &lt;EM&gt;field:aangemaaktOp=&lt;/EM&gt; won't do anything.&lt;/P&gt;&lt;P&gt;I think it's best not to rely on null fields or field parameters with the inbox. Gets messy. Better to leverage related tables somehow.&lt;/P&gt;&lt;P&gt;You could consider using using the pulldata property function to detect if the inbox is in use:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_FC295EA0A9354DCFA970B1D0B30D4DF4" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_FC295EA0A9354DCFA970B1D0B30D4DF4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could display the location again but I think any scenario where you want to allow the second geometry to be edited (and thereby calculated) would cause a loop.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 10:59:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/preloading-secondary-geometry-in-survey123/m-p/1602692#M62007</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2025-04-04T10:59:32Z</dc:date>
    </item>
  </channel>
</rss>

