<?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: Existing record not opening when linking Field Maps to Survey 123 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319738#M51251</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/413690"&gt;@pmccord&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You won't need to use the if() function in the readonly expression. You should be able to use ${theusername} = "pmccord" in the readonly column for the questions you want to be readonly and for the questions you want readonly for the other users you can use ${theusername} != "pmccord" as the readonly expression.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2023 17:11:27 GMT</pubDate>
    <dc:creator>ZacharySutherby</dc:creator>
    <dc:date>2023-08-17T17:11:27Z</dc:date>
    <item>
      <title>Existing record not opening when linking Field Maps to Survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1318797#M51183</link>
      <description>&lt;P&gt;I'm attempting to open an existing Survey 123 record from Field Maps. So, when a polygon is tapped on within Field Maps, it opens up the existing record in Survey 123.&lt;/P&gt;&lt;P&gt;This is being done within Portal, not AGO. I've configured my URL like this:&amp;nbsp;&amp;nbsp;arcgis-survey123://?portalUrl=&lt;A href="https://gisportal.XXXX-XXXXX.com/portal&amp;amp;itemID=05af890f3d1a4dc6a82484a935933454&amp;amp;mode=edit&amp;amp;globalId={globalid" target="_blank" rel="noopener"&gt;https://gisportal.XX-XX.com/portal&amp;amp;itemID=05af890f3d1a4dc6a82484a935933454&amp;amp;mode=edit&amp;amp;globalId={globalid&lt;/A&gt;}&lt;/P&gt;&lt;P&gt;This was formatted by following this post from&amp;nbsp;Ismael:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-editing-records-in-a/ba-p/895827" target="_blank" rel="noopener"&gt;Survey123 Tricks of the Trade: Editing records in ... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The workflow that I need is for one user type to be able to fill out the initial record and then another user type opens up the existing record and signs off (using the Signature field type in Survey 123).&lt;/P&gt;&lt;P&gt;I have the survey completely set up and the URL that I constructed will open Survey 123 from Field Maps; however, the record is empty. I've tried many alternatives to this and I'm certain I'm pointing to the correct Global ID field. Is this a known shortcoming, or do I have my URL formatted incorrectly?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 20:24:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1318797#M51183</guid>
      <dc:creator>pmccord</dc:creator>
      <dc:date>2023-08-15T20:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Existing record not opening when linking Field Maps to Survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319084#M51201</link>
      <description>&lt;P&gt;The field app uses action=edit. Mode=edit is for the web browser.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm" target="_self"&gt;Integrate with other apps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 12:32:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319084#M51201</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2023-08-16T12:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Existing record not opening when linking Field Maps to Survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319209#M51210</link>
      <description>&lt;P&gt;Thank you Jennifer. This solved my issue! The URL that I put together that opens the existing record in edit mode is: arcgis-survey123://?portalUrl=&lt;A href="https://xx.xxxx-xxx.com/portal&amp;amp;itemID=4e0d8fc4cbc946009db5a832aa4b9dbd&amp;amp;action=edit&amp;amp;update=true&amp;amp;q:glo" target="_blank"&gt;https://xx.xxxx-xxx.com/portal&amp;amp;itemID=4e0d8fc4cbc946009db5a832aa4b9dbd&amp;amp;action=edit&amp;amp;update=true&amp;amp;q:glo&lt;/A&gt;...}&lt;/P&gt;&lt;P&gt;I'm having a new issue though in that the Survey 123 form that I've set up should only have certain fields editable depending on the user who is editing the survey. I've set this up using conditionals in the readonly field within Survey 123 Connect:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmccord_0-1692203862190.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78238i5C3BD4716EE07FB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmccord_0-1692203862190.png" alt="pmccord_0-1692203862190.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this doesn't seem to be honored when the existing record opens in Survey 123 (from Field Maps). The fields that are available for editing for the user who initially submitted the survey become available for editing for every subsequent user who edits the survey, regardless of whether they meet the readonly condition or not.&lt;/P&gt;&lt;P&gt;I'm happy to post this as a separate question since it's a little unrelated from the initial post.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 16:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319209#M51210</guid>
      <dc:creator>pmccord</dc:creator>
      <dc:date>2023-08-16T16:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Existing record not opening when linking Field Maps to Survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319400#M51231</link>
      <description>&lt;P&gt;Separate issues are best in separate posts to allow members of the community to chase the sweet internet points. Suggest marking their post as the answer to your question.&lt;/P&gt;&lt;P&gt;Sounds like your new issue is tied to calculation modes. Force the re-calculation of the username property field. by adding calculationMode=always to the ${theusername} field.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-calculation-modes/ba-p/1206967" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-calculation-modes/ba-p/1206967&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If that works, please just add this as an additional answer. Otherwise maybe create a new post, share the XLSForm, and tag us in it so we can continue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 22:47:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319400#M51231</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-08-16T22:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Existing record not opening when linking Field Maps to Survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319738#M51251</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/413690"&gt;@pmccord&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You won't need to use the if() function in the readonly expression. You should be able to use ${theusername} = "pmccord" in the readonly column for the questions you want to be readonly and for the questions you want readonly for the other users you can use ${theusername} != "pmccord" as the readonly expression.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 17:11:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319738#M51251</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2023-08-17T17:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Existing record not opening when linking Field Maps to Survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319853#M51258</link>
      <description>&lt;P&gt;That was it! I needed to add the following to the calculation field:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmccord_0-1692303439860.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78415iF08F3F9C7899A975/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmccord_0-1692303439860.png" alt="pmccord_0-1692303439860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then I had to add calculationMode=always to the bind::esri:parameters field:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmccord_1-1692303490252.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78416iCA0E9D3E3B6636CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmccord_1-1692303490252.png" alt="pmccord_1-1692303490252.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, it looks like I wasn't updating the 'theusername' field with the username of the person who was currently editing the form. Now that it is updating, the appropriate fields are readonly. Thanks again!!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 20:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/existing-record-not-opening-when-linking-field/m-p/1319853#M51258</guid>
      <dc:creator>pmccord</dc:creator>
      <dc:date>2023-08-17T20:19:36Z</dc:date>
    </item>
  </channel>
</rss>

