<?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: how to use external data sources like SQL table or REST end point in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1345553#M8697</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/606364"&gt;@mikaël&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You could create a model in ArcGIS Pro that performs the following:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Converts the JSON URL to a feature class using Pro's J&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/json-to-features.htm" target="_self"&gt;SON to Features&lt;/A&gt; tool&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Truncate the AGOL feature service using &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/truncatetable.htm" target="_self"&gt;Truncate Table&lt;/A&gt;.&amp;nbsp; I can't recall if this works on AGOL feature services, so you may have to use &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/delete-features.htm" target="_self"&gt;Delete Features&lt;/A&gt; instead&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/append.htm" target="_self"&gt;Append&lt;/A&gt; the feature class created from step 1 to the AGOL feature service.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 15:00:42 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2023-11-03T15:00:42Z</dc:date>
    <item>
      <title>how to use external data sources like SQL table or REST end point</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1020440#M4153</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm new to dashboard, Can I access data from external data sources? for example&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Database Table / View which is not registered with Geodatabase (Example: Employee or User table)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Rest Endpoint (Example: OpenWeatherMap API)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 27 Jan 2021 13:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1020440#M4153</guid>
      <dc:creator>JayAppusamy</dc:creator>
      <dc:date>2021-01-27T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to use external data sources like SQL table or REST end point</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1020477#M4154</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/20767"&gt;@JayAppusamy&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; ArcGIS Dashboard won't be able to access data from a database table unless it's published as a service. ArcGIS Insights does have the ability to connect directly to a Database.&amp;nbsp; That may be an option you can explorer.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/insights/latest/get-started/create-a-database-connection.htm" target="_blank"&gt;https://doc.arcgis.com/en/insights/latest/get-started/create-a-database-connection.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; If the REST Endpoint is added as an item to your Organization (i.e AGOL, ArcGIS Enteprise), or added to a web map, then it will be accessible in the Dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 14:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1020477#M4154</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-01-27T14:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to use external data sources like SQL table or REST end point</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1344600#M8653</link>
      <description>&lt;P&gt;As an example, as&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;pointed out, I added my API (json) to AGOL:&lt;/P&gt;&lt;P&gt;New item &amp;gt; URL &amp;gt; Type: GeoJSON &amp;gt; Add data and create a hosted feature layer&lt;/P&gt;&lt;P&gt;Then I was able to access this hosted table directly from Dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;24h later, I realized that the item in AGOL does not refresh based on the source. So for example when I added the item to AGOL yesterday november 1st, the last available date from source was october 31st. Today, november 2nd, the last available date in the source is november 1st. However the last date in the item on AGOL is still october 31st. So I will have to create a workaround &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 13:35:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1344600#M8653</guid>
      <dc:creator>mikaël</dc:creator>
      <dc:date>2023-11-02T13:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to use external data sources like SQL table or REST end point</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1345553#M8697</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/606364"&gt;@mikaël&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You could create a model in ArcGIS Pro that performs the following:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Converts the JSON URL to a feature class using Pro's J&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/json-to-features.htm" target="_self"&gt;SON to Features&lt;/A&gt; tool&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Truncate the AGOL feature service using &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/truncatetable.htm" target="_self"&gt;Truncate Table&lt;/A&gt;.&amp;nbsp; I can't recall if this works on AGOL feature services, so you may have to use &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/delete-features.htm" target="_self"&gt;Delete Features&lt;/A&gt; instead&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/append.htm" target="_self"&gt;Append&lt;/A&gt; the feature class created from step 1 to the AGOL feature service.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 15:00:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1345553#M8697</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2023-11-03T15:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to use external data sources like SQL table or REST end point</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1345657#M8699</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I ended up creating a python script that runs every day, gets the data from the wanted API, processes it and sends it to AGOL with the append function and upsert parameter in the API.&lt;/P&gt;&lt;P&gt;Thanks for your suggestion!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 17:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-use-external-data-sources-like-sql-table-or/m-p/1345657#M8699</guid>
      <dc:creator>mikaël</dc:creator>
      <dc:date>2023-11-03T17:28:00Z</dc:date>
    </item>
  </channel>
</rss>

