<?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 Survey123 - URL Parameters/Populate Attributes in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858287#M25239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am doing a pole inspection in Survey123 and&amp;nbsp;opening the survey&amp;nbsp;by selecting the pole feature from another&amp;nbsp;web app&amp;nbsp;as well as&amp;nbsp;populating attributes of the pole&amp;nbsp;within the survey, is it&amp;nbsp;possible to populate attributes of a feature that has a&amp;nbsp;relationship/related table to the feature that is selected?&amp;nbsp; In example shown below, I would like to&amp;nbsp;populate attributes not only from the pole, but from the transformer as well, such as phase, voltage, etc. Or if I was doing transformer inspections, populate&amp;nbsp;attributes from transformer bank and transformer unit as well, etc. Make sense?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Elizabeth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" src="https://community.esri.com/legacyfs/online/474715_populateattributes.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/474728_polpulateattributes1.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2019 22:34:49 GMT</pubDate>
    <dc:creator>ElizabethHovsepian</dc:creator>
    <dc:date>2019-11-26T22:34:49Z</dc:date>
    <item>
      <title>Survey123 - URL Parameters/Populate Attributes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858287#M25239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am doing a pole inspection in Survey123 and&amp;nbsp;opening the survey&amp;nbsp;by selecting the pole feature from another&amp;nbsp;web app&amp;nbsp;as well as&amp;nbsp;populating attributes of the pole&amp;nbsp;within the survey, is it&amp;nbsp;possible to populate attributes of a feature that has a&amp;nbsp;relationship/related table to the feature that is selected?&amp;nbsp; In example shown below, I would like to&amp;nbsp;populate attributes not only from the pole, but from the transformer as well, such as phase, voltage, etc. Or if I was doing transformer inspections, populate&amp;nbsp;attributes from transformer bank and transformer unit as well, etc. Make sense?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Elizabeth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" src="https://community.esri.com/legacyfs/online/474715_populateattributes.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/474728_polpulateattributes1.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 22:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858287#M25239</guid>
      <dc:creator>ElizabethHovsepian</dc:creator>
      <dc:date>2019-11-26T22:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 - URL Parameters/Populate Attributes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858288#M25240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try to access it using the {relationships/1/fieldname} syntax?&amp;nbsp; (Where 1 is the relationship number from the service)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you go into the popup config then configure attributes link it will give you a list of all the related fields names so you can figure out the correct name to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 15:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858288#M25240</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-11-27T15:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 - URL Parameters/Populate Attributes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858289#M25241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; thanks for your input.&amp;nbsp;I tried what you suggested and it did not work.&amp;nbsp; I tried a url string with 2 features and also one with many features.&amp;nbsp; The only feature populating is the pole. Double checked that the naming convention is correct too. Here is the syntax:&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style="border: 1pt windowtext; padding: 0in; color: navy; background: white; font-size: 11.5pt; "&gt;arcgis-survey123://?itemID=&lt;/EM&gt;c910f2c47e8a4af1a74c85a80807bacb&amp;amp;field:pole_number={FACILITYID}&amp;amp;field:oh_switch_number={relationships/3/FACILITYID}&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/474882_URLsurvey.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 22:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858289#M25241</guid>
      <dc:creator>ElizabethHovsepian</dc:creator>
      <dc:date>2019-11-27T22:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 - URL Parameters/Populate Attributes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858290#M25242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm that all looks right.&amp;nbsp; Is the field hidden or anything on form open?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:03:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858290#M25242</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-12-02T16:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 - URL Parameters/Populate Attributes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858291#M25243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had another idea.&amp;nbsp; Is your relationship class 1:1 or 1:M?&amp;nbsp; If it is 1:M then the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;{relationships/3/FACILITYID} will return a count and not values.&amp;nbsp; Changing to 1:1 may work if you can.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The other option is to use Arcade and lookup the value yourself.&amp;nbsp; &amp;nbsp;See this post on doing a lookup to a repeat&amp;nbsp;&lt;A href="https://community.esri.com/thread/242701"&gt;Ask about the Related table came from the repeat table in Survey123 for ArcGIS, How to show its data in pop-up?String fi…&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Then you would use&amp;nbsp;{expression/expr0} to grab that value for the URL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hope that helps&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 16:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858291#M25243</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-12-04T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 - URL Parameters/Populate Attributes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858292#M25244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, some of them are 1:M, and I will not be able to change those. I am not familiar with Arcade, but I may&amp;nbsp;fiddle around with&amp;nbsp;it when I get some time.&amp;nbsp;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 18:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858292#M25244</guid>
      <dc:creator>ElizabethHovsepian</dc:creator>
      <dc:date>2019-12-04T18:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 - URL Parameters/Populate Attributes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858293#M25245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A 1:M only returns a count, sum, or avg.&amp;nbsp; Which makes sense since it cannot list all the values it finds in a 1:M in one value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This also means your Arcade will query and return a list.&amp;nbsp; You will need some type of code in there to pick out the one value you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 19:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-url-parameters-populate-attributes/m-p/858293#M25245</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-12-04T19:00:09Z</dc:date>
    </item>
  </channel>
</rss>

