<?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: Can I get/use the number of related records? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461228#M23227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking back in on this one as it has been over a year and a half now.&amp;nbsp; &amp;nbsp;Is it documented that is broke?&amp;nbsp; Bug number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still does not work.&amp;nbsp; &amp;nbsp;Also featureset is still not working either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other suggestions on here do not work offline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got a big project just waiting and waiting on this one.&amp;nbsp; Also posted here&amp;nbsp;&lt;A href="https://community.esri.com/thread/231490"&gt;Relationships Counts not displaying in Collector&lt;/A&gt;&amp;nbsp; &amp;nbsp;and similar here&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/thread/229709-are-the-arcade-featureset-functions-supported-in-collector"&gt;https://community.esri.com/thread/229709-are-the-arcade-featureset-functions-supported-in-collector&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2020 21:43:05 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2020-07-15T21:43:05Z</dc:date>
    <item>
      <title>Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461218#M23217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a web map the Attribute table will show you how many related records there are for each Relationship Class.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/436826_RelatePost1.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way I can get\use this number?&amp;nbsp; Any way to use it to symbolize?&amp;nbsp; Sort by?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For example I want to be able to tell the user they only have 2 LPI forms when it should be 3.&amp;nbsp; AKA how can the user get a list of features that were not fully completed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Arcade I can do a check using FeatureSetByName but then I again cannot symbolize or filter.&amp;nbsp; Plus the user would have to click show a thousand times in the attribute table.&amp;nbsp; (The word Complete is where I clicked)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/436828_RelatePost2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of these expressions are also hidden from Ops Dashboard.&amp;nbsp; They will show in a popup but cannot use for filters or anything like that.&amp;nbsp;&amp;nbsp;If Ops Dashboard cannot use Arcade can it&amp;nbsp;get this Related records number at all?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas on how to do a dynamic QC to see if the job is complete based on the number of related records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can run some analysis but that becomes static in time.&amp;nbsp; Meaning I have to run it on the regular.&amp;nbsp; It also means a download, run, upload.&amp;nbsp; I have tried to run analysis directly from the Feature service using a SearchCursor /JSON&amp;nbsp;- and it works great on FCs but on tables it does not work (should but just doesn't).&amp;nbsp; In this case all the main level relates I am checking are FCs so this may work actually in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also cannot use the Arcade expression in any of the Analysis tools in AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 18:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461218#M23217</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-02-07T18:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461219#M23218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also I can get the relationship count to show up in AGOL but when I try to use this in the new&amp;nbsp;Collector it shows nothing.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/436844_RelatePost3.PNG" /&gt;&lt;/P&gt;&lt;P&gt;Popup in AGOL shows the 0 just fine.&amp;nbsp; Collector it is just blank.&amp;nbsp; Even when online.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/436845_RelatePost4.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 19:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461219#M23218</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-02-07T19:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461220#M23219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something to try may be to use Arcade or the join tool.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualizing-related-data-with-join-features-in-arcgis-online/" title="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualizing-related-data-with-join-features-in-arcgis-online/"&gt;Visualizing related data with Join Features in ArcGIS Online&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/mapping/mapping/whats-new-with-arcade-taking-a-stroll-through-featuresets-part-2/" title="https://www.esri.com/arcgis-blog/products/mapping/mapping/whats-new-with-arcade-taking-a-stroll-through-featuresets-part-2/"&gt;What’s new with Arcade: Taking a stroll through FeatureSets (Part 2)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this seems to not be working as expected, try getting in touch with tech support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 21:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461220#M23219</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2019-02-07T21:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461221#M23220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second image sample shown is using Arcade.&amp;nbsp; But it will not let me filter, sort, of even just show the values.&amp;nbsp; You must click on Show for every single record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A join would be static so I would have to remake it everyday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 22:12:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461221#M23220</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-02-07T22:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461222#M23221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really need the count, then you might need to consider calling the feature service layer queryRelated directly and pass returnCountOnly=true. Any other option would be expensive if done in the client side.&lt;/P&gt;&lt;P&gt;This is how the UX is getting the count.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://...services/&amp;lt;myService&amp;gt;/FeatureServer/&amp;lt;myLayer&amp;gt;/queryRelatedRecords?relationshipId=0&amp;amp;definitionExpression=1%3D1&amp;amp;returnCountOnly=true&amp;amp;f=html&amp;amp;token=" title="https://...services/&amp;lt;myService&amp;gt;/FeatureServer/&amp;lt;myLayer&amp;gt;/queryRelatedRecords?relationshipId=0&amp;amp;definitionExpression=1%3D1&amp;amp;returnCountOnly=true&amp;amp;f=html&amp;amp;token="&gt;https://...services/&amp;lt;myService&amp;gt;/FeatureServer/&amp;lt;myLayer&amp;gt;/queryRelatedRecords?relationshipId=0&amp;amp;definitionExpression=1%3D1&amp;amp;…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 00:49:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461222#M23221</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-02-08T00:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461223#M23222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a Field Calculation in ArcGIS Online that retrieves the number of related records and visualize your data on that new field. The downside is that this field will alter your schema and it will be static. So you will have to recalculate the field when the data changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 12:19:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461223#M23222</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-02-08T12:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461224#M23223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know why &lt;SPAN style="color: #4c4c4c; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 14px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;{relationships/1/objected}&lt;/SPAN&gt;&amp;nbsp; (with Count option)&amp;nbsp;works in AGOL popup but not in Collector?&amp;nbsp; It works great in a browser but Collector it is just blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 17:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461224#M23223</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-02-08T17:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461225#M23224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-userid="12477" data-username="dougbrowning" href="https://community.esri.com/people/dougbrowning" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Doug Browning&lt;/A&gt;,&amp;nbsp;&lt;A _jive_internal="true" data-userid="3063" data-username="KGerrow-esristaff" href="https://community.esri.com/people/KGerrow-esristaff" style="color: #8ca9cd; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Kelly Gerrow&lt;/A&gt;&lt;SPAN style="color: #a9a9a9; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;IMG alt="Employee" class="" height="16" src="https://community.esri.com/resources/statics/rolebadges/roleBadge-4-1007-1416659453731.png" style="color: #a9a9a9; background-color: #ffffff; border: 0px; font-weight: 500; font-size: 12.5712px; margin: 0px 2px -3px -1px;" title="Employee" width="16" /&gt;,&amp;nbsp;&lt;A _jive_internal="true" data-userid="35315" data-username="KHassen-esristaff" href="https://community.esri.com/people/KHassen-esristaff" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Khaled Hassen&lt;/A&gt;&lt;SPAN style="color: #a9a9a9; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;IMG alt="Employee" class="" height="16" src="https://community.esri.com/resources/statics/rolebadges/roleBadge-4-1007-1416659453731.png" style="color: #a9a9a9; background-color: #ffffff; border: 0px; font-weight: 500; font-size: 12.5712px; margin: 0px 2px -3px -1px;" title="Employee" width="16" /&gt;,&amp;nbsp;&lt;A _jive_internal="true" data-userid="3100" data-username="xander_bakker" href="https://community.esri.com/people/xander_bakker" style="color: #8ca9cd; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Xander Bakker&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you might find it useful,&lt;/P&gt;&lt;P&gt;I have come up with a solution to symbolizing from a related table in my post:&lt;/P&gt;&lt;P&gt;Symbolizing Feature Class using related table values&lt;/P&gt;&lt;P&gt;https://community.esri.com/thread/215046-symbolizing-feature-class-using-related-table-values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a 17 page word document with details on how to accomplish this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 15:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461225#M23224</guid>
      <dc:creator>AndresCastillo</dc:creator>
      <dc:date>2019-03-25T15:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461226#M23225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the online side, database views are also created when joining the source and destination related table in the online view.&lt;/P&gt;&lt;P&gt;This is currently supported when creating online feature service view and we have some examples of how you can do this in online. This is all done using REST API when you add a new join layer to an empty feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, this is not supported in Portal/server based feature service. I would think this is a good solution moving forward if they desire to render data based on joining the source layer and a related table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Khaled Hassen&lt;/P&gt;&lt;P&gt;Online Feature Service Lead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 15:23:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461226#M23225</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-03-25T15:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461227#M23226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khaled.&lt;/P&gt;&lt;P&gt;I'm not sure I understand what you replied.&lt;/P&gt;&lt;P&gt;Can you please help me understand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say that symbolizing off related tables is possible in AGO.&lt;/P&gt;&lt;P&gt;You mention that ESRI has some examples.&lt;/P&gt;&lt;P&gt;Would you be referring to this?:&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.esri.com%2Farcgis-blog%2Fproducts%2Fproduct%2Fmapping%2Fvisualizing-related-data-with-join-features-in-arcgis-online%2F" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/product/mapping/visualizing-related-data-with-join-features-in-arcgis-online/&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Or do you have other examples?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;You also mention that something is not supported in Portal/Server based feature service?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;What would be a good solutions moving forward?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 19:56:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461227#M23226</guid>
      <dc:creator>AndresCastillo</dc:creator>
      <dc:date>2019-03-25T19:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461228#M23227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking back in on this one as it has been over a year and a half now.&amp;nbsp; &amp;nbsp;Is it documented that is broke?&amp;nbsp; Bug number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still does not work.&amp;nbsp; &amp;nbsp;Also featureset is still not working either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other suggestions on here do not work offline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got a big project just waiting and waiting on this one.&amp;nbsp; Also posted here&amp;nbsp;&lt;A href="https://community.esri.com/thread/231490"&gt;Relationships Counts not displaying in Collector&lt;/A&gt;&amp;nbsp; &amp;nbsp;and similar here&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/thread/229709-are-the-arcade-featureset-functions-supported-in-collector"&gt;https://community.esri.com/thread/229709-are-the-arcade-featureset-functions-supported-in-collector&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 21:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/461228#M23227</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-07-15T21:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1046340#M39428</link>
      <description>&lt;P&gt;I forgot to update this until someone hit kudo.&amp;nbsp; I talked to the field maps team and they know that these relationship values do not work.&amp;nbsp; They disabled them do to some issues.&lt;/P&gt;&lt;P&gt;They said they would look at reenabling them.&amp;nbsp; Not sure when.&amp;nbsp; This post is 2 years old but I talked to them this past summer.&lt;/P&gt;&lt;P&gt;You can now simulate this using the FeatureSet functions now since these are now working in field maps (but still not collector).&amp;nbsp; But I still think this is weird to have something there that does not work and is not documented anywhere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps someone.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 13:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1046340#M39428</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-04-13T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1181931#M46396</link>
      <description>&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;Just wondering, have you heard any updates on this? I have a workflow where users create a parent feature when they deploy a device and a related record when they retrieve it. It would be great to have Field Maps calculate the "status" of the parent based on whether a related record exists. This would prevent the most annoying part of the process, which is manually changing the status each time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Travis&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 16:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1181931#M46396</guid>
      <dc:creator>TravisSizemore</dc:creator>
      <dc:date>2022-06-10T16:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1181940#M46397</link>
      <description>&lt;P&gt;Yes FeatuteSet functions all work now.&amp;nbsp; I use this all the time now.&amp;nbsp; &amp;nbsp;(no the related checkboxes still do not work which is weird so have to do it yourself)&lt;/P&gt;&lt;P&gt;If you are just checking does one exist or not then you can modify this code which is close.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var sql = "PlotID = '" + $feature.PlotID + "'";
var tbl = Filter(FeatureSetByName($map,"Natural and Human Disturbances", ['PlotID'], false), sql);

if (count(tbl) &amp;gt; 1) {
    return "More than one form found"
}
else if (count(tbl) &amp;lt; 1) {
    return "No forms found"
}
else {
    return "1"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Hope that helps&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 16:26:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1181940#M46397</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-06-10T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182027#M46401</link>
      <description>&lt;P&gt;Doug,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. The code does work within Arcade, but Field Maps doesn't allow it in practice. When I try to create the feature, I get a "Failed to calculate" error under that field. This occurs whether I apply it to a required field or not. I suspect it might be because the Filter function won't work with a null variable (i.e. "record"). Any ideas to get around this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var sql = "deployment_key = '" + $feature.deployment_key + "'";
var record = FeatureSetByName($map,"Active End Deployments", ["Deploy Key (GUID)"], false)
var tbl_cnt = count(Filter(record, sql));


IIf(tbl_cnt == 1, 'retrieved', 'deployed');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Travis&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 19:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182027#M46401</guid>
      <dc:creator>TravisSizemore</dc:creator>
      <dc:date>2022-06-10T19:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182031#M46402</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var sql = "deployment_key = '" + $feature.deployment_key + "'";
var record_cnt = count(FeatureSetByName($map,"Active End Deployments", ["Deploy Key (GUID)"], false))


IIf(record_cnt == 1, 'retrieved', 'deployed');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, when I switched to the above code (removed the Filter), it does allow the calculation in Field Maps when I create the feature, but it doesn't update it when I create the related record, nor does it change if I attempt to edit the parent feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Travis&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 19:32:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182031#M46402</guid>
      <dc:creator>TravisSizemore</dc:creator>
      <dc:date>2022-06-10T19:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182037#M46404</link>
      <description>&lt;P&gt;Are you trying to do this as like an attribute rule or just for display in the popup?&amp;nbsp; I assumed popup.&amp;nbsp; Have not used rules much but I would think you would need to test for null.&amp;nbsp; But then I do not know if it would ever populate after the fact.&amp;nbsp; Popup should be enough I think?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 19:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182037#M46404</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-06-10T19:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182039#M46405</link>
      <description>&lt;P&gt;I was trying to do it as an attribute rule within Field Maps, but maybe if that's not possible I could do something with the popup. The only real use of this field is to change the symbology within the mobile map so they can see where they need to retrieve remaining devices. Perhaps the same expression within the symbology settings would work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 19:52:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182039#M46405</guid>
      <dc:creator>TravisSizemore</dc:creator>
      <dc:date>2022-06-10T19:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182042#M46406</link>
      <description>&lt;P&gt;I was afraid you would say that.&amp;nbsp; Sorry but cant use FeatureSet functions for symbols.&amp;nbsp; Too slow I guess.&amp;nbsp; Pop up only.&amp;nbsp; It is a huge drawback for sure.&amp;nbsp; If you want symbols has to be a real field.&amp;nbsp; Then its back to old school run a script on a schedule.&amp;nbsp; Not sure this will ever change?&amp;nbsp; It could be super duper slow.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1654891004029.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43260i4E99A347FC780283/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1654891004029.png" alt="DougBrowning_0-1654891004029.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 19:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182042#M46406</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-06-10T19:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get/use the number of related records?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182049#M46408</link>
      <description>&lt;P&gt;Doug,&lt;/P&gt;&lt;P&gt;That's what I suspected, but I figured it was worth asking around to see if anything has changed. Thanks for the info.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Travis&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 20:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-get-use-the-number-of-related-records/m-p/1182049#M46408</guid>
      <dc:creator>TravisSizemore</dc:creator>
      <dc:date>2022-06-10T20:14:47Z</dc:date>
    </item>
  </channel>
</rss>

