<?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: Create hosted view from join (with code) in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/create-hosted-view-from-join-with-code/m-p/1486565#M1402</link>
    <description>&lt;P&gt;Is there a solution to this?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2024 20:18:19 GMT</pubDate>
    <dc:creator>jadams</dc:creator>
    <dc:date>2024-06-06T20:18:19Z</dc:date>
    <item>
      <title>Create hosted view from join (with code)</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/create-hosted-view-from-join-with-code/m-p/1375668#M1330</link>
      <description>&lt;P&gt;In map viewer classic, you can join 2 layers/tables and optionally add statistics and this generates a hosted view, meaning that it is updated based on the underlying source data. This costs no credits.&lt;/P&gt;&lt;P&gt;In map viewer, you can also perform a join with statistics (I believe it calls &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/join-features.htm" target="_self"&gt;this function&lt;/A&gt;), it consumes credits and I don't believe it updates the data (since it is not a view).&lt;/P&gt;&lt;P&gt;Is there anyway to programmatically perform a join to create a hosted view (either with REST JS or Python API) ?&lt;/P&gt;&lt;P&gt;I found &lt;A href="https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/join-features-and-save-result-as-layer-view/m-p/701784" target="_self"&gt;this thread&lt;/A&gt; but it's getting a little old and seems like theres way too many steps.&lt;/P&gt;&lt;P&gt;I also found the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html" target="_self"&gt;python create_view() function&lt;/A&gt;, but I'm unsure if you can make it from a join and if it uses credits.&lt;/P&gt;&lt;P&gt;Then there is the&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/add-to-definition-feature-service-.htm#ESRI_SECTION1_A4D679F83CCB4668862C0BAD65D4B33A" target="_self"&gt; "advanced view" in the addToDefinition function&lt;/A&gt;, but yet again, I'm unsure if this will produce what I want.&lt;/P&gt;&lt;P&gt;Apologies if this has been answered previously.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 21:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/create-hosted-view-from-join-with-code/m-p/1375668#M1330</guid>
      <dc:creator>mikaël</dc:creator>
      <dc:date>2024-01-29T21:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create hosted view from join (with code)</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/create-hosted-view-from-join-with-code/m-p/1486565#M1402</link>
      <description>&lt;P&gt;Is there a solution to this?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 20:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/create-hosted-view-from-join-with-code/m-p/1486565#M1402</guid>
      <dc:creator>jadams</dc:creator>
      <dc:date>2024-06-06T20:18:19Z</dc:date>
    </item>
  </channel>
</rss>

