<?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: Updating relational fields in online dashboard in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536243#M61392</link>
    <description>&lt;P&gt;Thanks for all the help. I was able to create the relational File GDB and upload it to AGOL, but I can't figure out how to symbolize based on the data in the related table.&amp;nbsp; The symbolization only provides access to the fields in the feature class.&lt;/P&gt;</description>
    <pubDate>Sun, 08 Sep 2024 19:10:42 GMT</pubDate>
    <dc:creator>BenjamenWetherill</dc:creator>
    <dc:date>2024-09-08T19:10:42Z</dc:date>
    <item>
      <title>Updating relational fields in online dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1535807#M61380</link>
      <description>&lt;P&gt;I feel like there must be an easier way to do this, but I can't figure it out.&amp;nbsp; I want to easily update sample results for geolocated sites in a dashboard without reassigning and reloading the data to the sites each time.&lt;/P&gt;&lt;P&gt;I have some sites that are sampled for E.coli bacteria on a regular basis.&amp;nbsp; I would like to easily update new result data for the same sites each week.&amp;nbsp; The only solution I have been able to figure out is as follows:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Create an Excel file with all results data (full history) with fields: Date, Site, Result.&amp;nbsp; And upload to ArcPro as a standalone table.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Join my sites feature layer one-to-many with the standalone results table.&amp;nbsp; Join by Site.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Export features of my joined sites layer to a new layer in ArcPro.&amp;nbsp; Then remove join on original sites feature layer so it is available for future use.&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Share the newly created exported layer as a Web Layer.&amp;nbsp; This new layer has duplicative repeated feature rows for each date a site was sampled.&amp;nbsp; Fields:&amp;nbsp; Site from feature layer, Date, Site, Result.&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Republish the dashboard with the newly shared layer.&lt;/P&gt;&lt;P&gt;It would be much simpler if I just had one unchanging feature layer of non-repeated sites and this layer was related as a relational database to a freshly uploaded table of results data.&amp;nbsp; Is this not possible in ArcGIS Online?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 03:44:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1535807#M61380</guid>
      <dc:creator>BenjamenWetherill</dc:creator>
      <dc:date>2024-09-06T03:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Updating relational fields in online dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1535905#M61382</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/31280"&gt;@BenjamenWetherill&lt;/a&gt;have you looked at update data? Here is a blog you might find useful: &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/updating-data-in-arcgis-online-just-got-a-whole-lot-easier/" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/updating-data-in-arcgis-online-just-got-a-whole-lot-easier/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you are python savvy you can also write a script to automate this workflow too, but the above blog walks through how simple the experience is today in AGOL&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 13:47:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1535905#M61382</guid>
      <dc:creator>bbollin</dc:creator>
      <dc:date>2024-09-06T13:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Updating relational fields in online dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1535949#M61383</link>
      <description>&lt;P&gt;You can create a hosted feature layer in ArcGIS Online that includes a layer and a related table.&amp;nbsp; The best way to do it (in my opinion) depends on your Pro license.&lt;/P&gt;&lt;P&gt;If you have a Pro Standard or Pro Advanced licensed, I would create a File GDB with a feature class (your layer properties) and a table (your sampling data).&amp;nbsp; Add a Global ID to the feature class and a GUID foreign key field to the table.&amp;nbsp; Create a 1:M cascading relationship class between the two, using the Global ID as the primary key and the GUID as the foreign key.&amp;nbsp; Zip the FGDB and post to AGOL to create a new service.&lt;/P&gt;&lt;P&gt;If you have a Pro Basic license you can't create relationship classes, so in that case your best bet is to find an AGOL template that has a similar schema and modify it to suit your needs.&amp;nbsp; If you create a new layer in AGOL and search the templates, you'll see "Water Quality Inspection" (as well as some others) has this 1 layer -&amp;gt; 1 related table schema, you could probably roll it out and then drop and add the fields to do what you need.&lt;/P&gt;&lt;P&gt;Rather than republishing, you'd probably want to get new data in there through one of a few ways:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Give users a tabular view in something like Experience Builder&lt;/LI&gt;&lt;LI&gt;Give users a Survey123 form for site data collection that will append to the existing results (possibly with Field Maps integration)&lt;/LI&gt;&lt;LI&gt;Append new Excel results to the table on a regular basis (this would probably require adding in some GUIDs to make the relationship work)&lt;/LI&gt;&lt;LI&gt;Write a Python script that posts new results to the related table and links them to the appropriate parent features&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 06 Sep 2024 15:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1535949#M61383</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2024-09-06T15:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Updating relational fields in online dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536000#M61384</link>
      <description>&lt;P&gt;I think this is exactly what I'm looking for!&amp;nbsp; But, I don't understand the objective of the GlobalID and GUID fields.&amp;nbsp; What is the purpose of the cryptic registry style field values?&amp;nbsp; I want to create a relationship based on SiteID values which I understand.&amp;nbsp; Why do I need to use these cryptic values?&amp;nbsp; I assume I will need to map the cryptic GlobalID values to the GUID field somehow.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 17:33:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536000#M61384</guid>
      <dc:creator>BenjamenWetherill</dc:creator>
      <dc:date>2024-09-06T17:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Updating relational fields in online dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536007#M61385</link>
      <description>&lt;P&gt;I think you could use Site IDs as well, using regular integer fields as keys in a relationship class used to be something I saw fairly often in desktop applications but I don't see it much in ArcGIS Online.&amp;nbsp; I think a big reason is because Global IDs ensure global uniqueness, they're automatically generated and managed by the data store and are read-only, so you don't have to worry about things like primary key duplication, or having your primary key change.&amp;nbsp; You could create a unique index on your Site ID field as well, but violating that uniqueness constraint tends to result in some cryptic error messages as well.&lt;/P&gt;&lt;P&gt;I'm not sure if any of the templates use integer keys (I believe GlobalID/GUID links are the standard across templates), but if you have a Pro Standard or Advanced license, I'd give the FGDB approach with an integer key a try and see how it goes for you.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 17:49:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536007#M61385</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2024-09-06T17:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Updating relational fields in online dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536243#M61392</link>
      <description>&lt;P&gt;Thanks for all the help. I was able to create the relational File GDB and upload it to AGOL, but I can't figure out how to symbolize based on the data in the related table.&amp;nbsp; The symbolization only provides access to the fields in the feature class.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 19:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536243#M61392</guid>
      <dc:creator>BenjamenWetherill</dc:creator>
      <dc:date>2024-09-08T19:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Updating relational fields in online dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536246#M61393</link>
      <description>&lt;P&gt;Yeah, that's a trickier problem, I'm not sure there's a simple way to do that.&lt;/P&gt;&lt;P&gt;One approach I've looked into in the past is using an Arcade expression that finds related records and applies symbology based on a calculation of the resulting records.&amp;nbsp; I believe finding related records is blocked in web maps' symbology contexts however - I'm guessing because the performance might not be great, but that's speculation on my part.&lt;/P&gt;&lt;P&gt;I'm not sure how you'll be refreshing your related table data, but is it possible to create a field dedicated to symbology in your feature class, then apply a calculation to each record at the time you load those related records in?&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 19:40:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536246#M61393</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2024-09-08T19:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Updating relational fields in online dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536268#M61394</link>
      <description>&lt;P&gt;If I understand your suggestion correctly, I don't think that would work because I want to have the option of symbolizing multiple values per site.&amp;nbsp; The scenario is that I have sites in my feature class and the related table has values for each site for multiple years.&amp;nbsp; The user would then select which year they want to view symbolization for.&lt;/P&gt;&lt;P&gt;I'm also thinking that something like that would defeat the purpose of trying to find the simplest solution for updating data.&amp;nbsp; I'm starting to think that my original method is the simplest, with step 4 changing to updating the web layer from AGOL instead of sharing the new layer from Arc Pro.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 01:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-relational-fields-in-online-dashboard/m-p/1536268#M61394</guid>
      <dc:creator>BenjamenWetherill</dc:creator>
      <dc:date>2024-09-09T01:00:50Z</dc:date>
    </item>
  </channel>
</rss>

