<?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: Using Excel to access Arcgis online (automated) in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/1336240#M54968</link>
    <description>&lt;P&gt;Hi Nicholas, just wondering were you able to find out if edits made in excel were able to be pushed back into the hosted features service?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 12:13:15 GMT</pubDate>
    <dc:creator>KevinOKeeffe</dc:creator>
    <dc:date>2023-10-09T12:13:15Z</dc:date>
    <item>
      <title>Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486804#M24440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wondering how others have used Excel with Arcgis Online, since this is a common query from clients.&amp;nbsp; I've been using Power Query ( &lt;A href="https://rdwalker.squarespace.com/blog/2016/10/28/excel-power-query-to-retrieve-agol-attribute-tables-with-dynamic-query-parameters"&gt;see this excellent walk through&lt;/A&gt;) wth Arcgis and it's very easy to setup.&amp;nbsp;&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>Sun, 25 Mar 2018 10:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486804#M24440</guid>
      <dc:creator>Jean-YvesLandry1</dc:creator>
      <dc:date>2018-03-25T10:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486805#M24441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jean-Yves!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of the customers I speak with use ArcGIS Maps for Office. This may not do everything you need, but I'd definitely consider taking a look, as it gives pretty seamless flow between ArcGIS Online and Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out:&amp;nbsp;&lt;A class="link-titled" href="http://www.esri.com/software/maps-for-office" title="http://www.esri.com/software/maps-for-office"&gt;ArcGIS Maps for Office&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check in with your&amp;nbsp;Account Manager for more details on this product in relation to purchasing it for your account if you find that it's what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rachel G&lt;/P&gt;&lt;P&gt;Esri Support Services&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 21:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486805#M24441</guid>
      <dc:creator>rachelg_esri</dc:creator>
      <dc:date>2018-03-28T21:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486806#M24442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rachel,&lt;/P&gt;&lt;P&gt;Yes agreed Arcgis Office is quite useful indeed.&amp;nbsp; However in our case we are having to update data tables from multiple surveys and image attachments built with Collector and survey123.&amp;nbsp; By using PowerQuery you can access the arc Rest to access tables and attachments without having to do much coding at all, pretty nifty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 14:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486806#M24442</guid>
      <dc:creator>Jean-YvesLandry1</dc:creator>
      <dc:date>2018-03-30T14:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486807#M24443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wanted to add that with Excel powerquery you may also show the URL to your hosted feature attachments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create the Query to your attachment&amp;nbsp;table&lt;/P&gt;&lt;P&gt;2) Customize a column;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;= &lt;STRONG&gt;SERVICEURL&lt;/STRONG&gt; &amp;amp;&amp;nbsp; &lt;STRONG&gt;parentObjectId&lt;/STRONG&gt; &amp;amp; "/attachments/" &amp;amp; &lt;STRONG&gt;attachmentID&lt;/STRONG&gt; &amp;amp;&amp;nbsp;Token&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You can then open all your attachments using the hyperlink from your custom column (note that your token will need to be constantly refreshed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BONUS: With a little VBA you can then download all your photos to a local folder using the attachment URL. (modified from&amp;nbsp;&lt;A class="link-titled" href="https://stackoverflow.com/questions/35336118/convert-code-for-32-bit-to-64-bit" title="https://stackoverflow.com/questions/35336118/convert-code-for-32-bit-to-64-bit" rel="nofollow noopener noreferrer" target="_blank"&gt;excel - Convert code for 32 bit to 64 bit - Stack Overflow&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;*update: Added a line to add images that are not already present in the folder, reducing downloading time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Option Explicit

Private Declare Function URLDownloadToFile Lib "urlmon" _
Alias "URLDownloadToFileA" (ByVal pCaller As Long, _
ByVal szURL As String, ByVal szFileName As String, _
ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long

Dim Ret As Long

Sub Download_image_structure()

&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim ws As Worksheet
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim LastRow As Long, i As Long
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim countupdate As Long
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strPath As String
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim FolderName As String
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim fs
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set fs = CreateObject("Scripting.FileSystemObject")
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; FolderName = "W:\IMAGES\STRUCTURE\" '&amp;lt;-- folder where images will be saved

&amp;nbsp;&amp;nbsp;&amp;nbsp; '~~&amp;gt; create folder if it does not exist
&amp;nbsp;&amp;nbsp;&amp;nbsp; If Len(Dir(FolderName, vbDirectory)) = 0 Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MkDir FolderName
&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; '~~&amp;gt; name of sheets with image to download
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set ws = Sheets("STRUCTURES_PHOTO")


&amp;nbsp;&amp;nbsp;&amp;nbsp; LastRow = ws.Range("A" &amp;amp; Rows.Count).End(xlUp).Row

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For i = 2 To LastRow '&amp;lt;~~ 2 because row 1 has headers
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strPath = FolderName &amp;amp; ws.Range("F" &amp;amp; i).Value
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not fs.FileExists(strPath) Then '&amp;lt;-- if image does not exist in folder then skip to next
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ret = URLDownloadToFile(0, ws.Range("I" &amp;amp; i).Value, strPath, 0, 0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; countupdate = countupdate + 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next i
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox countupdate &amp;amp; " added images" '&amp;lt;-- how many image added to folder
End Sub&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486807#M24443</guid>
      <dc:creator>Jean-YvesLandry1</dc:creator>
      <dc:date>2021-12-11T21:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486808#M24444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, we're super interested in this also - ArcGIS Maps for office doesn't deliver exactly what we're after. unfortunately the linked post (to rwalker.info) is no longer available - any chance you could share that content?&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/23061"&gt;Rashan Walker&lt;/A&gt;, is that your blog?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jul 2019 02:58:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486808#M24444</guid>
      <dc:creator>ZoltanKelly1</dc:creator>
      <dc:date>2019-07-20T02:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486809#M24445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just saw this, I'll put together the how-to to help you out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 21:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486809#M24445</guid>
      <dc:creator>Jean-YvesLandry1</dc:creator>
      <dc:date>2019-08-08T21:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486810#M24446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant! thanks heaps! I've managed to map out the JSON endpoint to the attribute data with a bit of trial and error, but it'd be great to validate if i'm doing it effectively/correctly. The main challenge I'm having is for authenticated services; I haven't worked out how to connect to anything but a&amp;nbsp;publicly shared endpoint&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 22:38:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486810#M24446</guid>
      <dc:creator>ZoltanKelly1</dc:creator>
      <dc:date>2019-08-08T22:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486811#M24447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am also very interested in the description how to connect from excel to ArcGIS. Will you publish it here?&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 06:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486811#M24447</guid>
      <dc:creator>JulianeBorge</dc:creator>
      <dc:date>2019-08-12T06:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486812#M24448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still travelling but I'll try to summarize best I can here:&lt;/P&gt;&lt;P&gt;PART 1: CREATE TOKEN&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/" title="https://developers.arcgis.com/"&gt;ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Sign into the same AGOL account that holds your survey feature layer&lt;/LI&gt;&lt;LI&gt;Select New Application&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/457786_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d.Give your application a name,&amp;nbsp;then click "Register"&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/457797_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;e. Note the Client ID and Client Secret&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/457802_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN EXCEL:&amp;nbsp; Insert&amp;nbsp;three Tables&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-7 jive-image" src="https://community.esri.com/legacyfs/online/457805_pastedImage_10.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the Client ID and Client Secret you just copied from the application you just created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to name my tables;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/457804_pastedImage_9.png" /&gt;&lt;/P&gt;&lt;P&gt;From Top to bottom:&amp;nbsp; AGOL_ACCESS,&amp;nbsp;Token_auto,&amp;nbsp;Hosted_FS0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 11:37:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486812#M24448</guid>
      <dc:creator>Jean-YvesLandry1</dc:creator>
      <dc:date>2019-08-23T11:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486813#M24449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PART 2&amp;nbsp;Create your temporary token&lt;/P&gt;&lt;P&gt;1) To receive your token for your application replace CLIENTID and CLIENTSECRET with your own.&lt;/P&gt;&lt;P&gt;https://www.arcgis.com/sharing/rest/oauth2/token/?client_id=&lt;STRONG&gt;CLIENTID&lt;/STRONG&gt;&amp;amp;client_secret=&lt;STRONG&gt;CLIENTSECRET&lt;/STRONG&gt;&amp;amp;grant_type=client_credentials&lt;/P&gt;&lt;P&gt;2) New query, from web and enter the url with your IDs.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="457806" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/457806_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;3)choose advanced &amp;gt; ok&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="457807" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/457807_pastedImage_6.png" /&gt;&lt;/P&gt;&lt;P&gt;4) Choose EDIT&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="457808" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/457808_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;5) Select Data Source Settings&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="457810" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/457810_pastedImage_9.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6) Change Source and select&amp;nbsp;open file as JSON.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="457811" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/457811_pastedImage_10.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7) press advanced editor, we'll now edit the code so that it points to our tables. modify to code to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;//Custom Variables&lt;BR /&gt;access = Excel.CurrentWorkbook(){[Name="AGOL_ACCESS"]}[Content],&lt;BR /&gt;&lt;STRONG&gt;client_id&lt;/STRONG&gt; = access{0}[Value],&lt;BR /&gt;&lt;STRONG&gt;client_secret&lt;/STRONG&gt; = access{1}[Value],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source = Json.Document(Web.Contents("https://www.arcgis.com/sharing/rest/oauth2/token/?client_id=&lt;STRONG&gt;" &amp;amp; client_id &amp;amp; "&lt;/STRONG&gt; &amp;amp;client_secret=&lt;STRONG&gt;"&amp;amp; client_secret &amp;amp; "&lt;/STRONG&gt;&amp;amp;grant_type=client_credentials"), 65001),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#"Converted to Table" = Record.ToTable(Source)&lt;BR /&gt;in&lt;BR /&gt; #"Converted to Table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By having variables you'll now be able to reuse this excel table for other application tokens, as it points to the table that you previously created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next you'll need to get the service URL for your feature layer...&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/457812_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PART 3 coming...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 12:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486813#M24449</guid>
      <dc:creator>Jean-YvesLandry1</dc:creator>
      <dc:date>2019-08-23T12:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486814#M24450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for this, it’s fantastic! Really appreciate the detail. I’ve managed to follow to this point, if you can post the third part you will make my (and my teams’) day/week/year!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 07:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486814#M24450</guid>
      <dc:creator>ZoltanKelly1</dc:creator>
      <dc:date>2019-09-09T07:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486815#M24451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would also like to see the final steps, this would prove very useful for me on many projects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2019 18:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486815#M24451</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-13T18:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486816#M24452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing all of this information.&amp;nbsp; &amp;nbsp;There should be a lot of people waiting for Part 3; please publish it.&amp;nbsp; &amp;nbsp;Best regards&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Oct 2019 12:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486816#M24452</guid>
      <dc:creator>MartinPerez</dc:creator>
      <dc:date>2019-10-20T12:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486817#M24453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/162089"&gt;Jean-Yves Landry&lt;/A&gt;‌ any tips on step 3? with limited functionality with dashboard attribute tables, having a direct connection to excel where people still perform lots of tasks would be fantastic!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 17:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486817#M24453</guid>
      <dc:creator>DavidCook2</dc:creator>
      <dc:date>2019-10-25T17:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486818#M24454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PART 3&amp;nbsp;&lt;SPAN&gt;Fetching data from the service url and loading it into Excel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Since your survey could be setup in multiple different ways, I'm going to be using the "Nested Repeats" sample from Survey123 connect.&amp;nbsp; The "Nested Repeats" survey is setup where one campground may have many campsites, where campsites may have many equipment, where equipment may have a picture attached.&lt;/P&gt;&lt;P&gt;Layer(0) -Campground&lt;/P&gt;&lt;P&gt;Layer(1) -campSite&lt;/P&gt;&lt;P&gt;Table(2) - campsite_equipement&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table(2) attachments (images)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create sample survey from survey123 connect&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467821" alt="Nested repeats" class="jive-emoji image-1 jive-image" height="284" src="https://community.esri.com/legacyfs/online/467821_survey123_connect_sample.jpg" width="428" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Once you've published your survey to arcgis online, you should now see your survey under content in a folder named "Survey-Nested Repeats".&amp;nbsp; Press on the feature layer.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467837" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/467837_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.For this feature layer we can observe that there are 2 layers, and 1 table. You'll notice that each layer and table have a service url.&amp;nbsp; Press on the NestedRepeats Service URL.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467840" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/467840_pastedImage_8.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; You'll now find yourself in the ArcGIS REST Services Directory. If you scroll down the page you'll note that under relationships we can see that there is a relationship to the layer campSite (1), as you would expect...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467841" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/467841_pastedImage_9.png" /&gt;&lt;/P&gt;&lt;P&gt;5. At this point you can copy the service URL for the Campground layer. which should look something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467843" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/467843_pastedImage_14.png" /&gt;&lt;/P&gt;&lt;P&gt;Copy up to "FeatureServer/0/" and Save it for later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; Scroll to the bottom and click on query. From this table you're able to query your layer.&amp;nbsp; To query all data enter "objectid&amp;gt;0" for&amp;nbsp;&lt;STRONG&gt;Where&lt;/STRONG&gt; and wildcard "*" for&amp;nbsp;&lt;STRONG&gt;Out Fields,&amp;nbsp;&lt;/STRONG&gt;and "JSON" for&amp;nbsp;&lt;STRONG&gt;Format.&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Press &lt;STRONG&gt;Query (Get) ----You should then see all your collected information for that layer in the form of JSON.&amp;nbsp; This is what we want in excel!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467845" class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/467845_pastedImage_18.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Now we'll need to recreate this query in Excel. paste the URL you copied at #5 into the table Hosted_FS0. and just like the Query we just did enter objectid&amp;gt;0 for Where and * for Field.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467846" class="image-7 jive-image" src="https://community.esri.com/legacyfs/online/467846_pastedImage_20.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Add a new Query (Refer to part 2) and modify code in advanced editor.&amp;nbsp; Once modified press done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;//Custom Variables&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Hosted = Excel.CurrentWorkbook(){[Name="Hosted_FS0"]}[Content],&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;fsURL = Hosted{0}[Value],&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;whereClause = Hosted{1}[Value],&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;fieldsOut = Hosted{2}[Value],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Token_auto = Excel.CurrentWorkbook(){[Name="Token_auto"]}[Content],&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;token = Token_auto{0}[Value],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Get Data&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; Source = Json.Document(Web.Contents(fsURL &amp;amp; "query?where=" &amp;amp; whereClause &amp;amp; "&amp;amp;outFields=" &amp;amp; fieldsOut &amp;amp; "&amp;amp;returnGeometry=false&amp;amp;f=pjson&amp;amp;token=" &amp;amp; token), 65001)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;in&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*The variables in your Hosted_FS0 tables and your token will be merged and the resulting URL will be used to query your survey data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9.We'll need to "drill down" the Json in order to properly present the data. Right Click on list then click "into Table"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG __jive_id="467850" class="jive-image image-8" src="https://community.esri.com/legacyfs/online/467850_pastedImage_27.png" /&gt;&lt;/P&gt;&lt;P&gt;Right click on "List" for features then click "drill down"&lt;/P&gt;&lt;P&gt;Right click on List (column header) and click "To Table" - press ok&lt;/P&gt;&lt;P&gt;click on arrow button, unclick "Use original column name as prefix", click ok&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467853" class="image-9 jive-image" src="https://community.esri.com/legacyfs/online/467853_pastedImage_30.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;click on arrow button, unclick "Use original column name as prefix",&amp;nbsp; You'll note that these are the columns from your survey. Press ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG __jive_id="467854" class="jive-image image-10" src="https://community.esri.com/legacyfs/online/467854_pastedImage_31.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. If you added campgrounds then you should see your campground data.&amp;nbsp; Exit of the power Query Editor and&amp;nbsp;Keep your changes&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467855" class="image-11 jive-image" src="https://community.esri.com/legacyfs/online/467855_pastedImage_32.png" /&gt;&lt;/P&gt;&lt;P&gt;*(You'll note that the time is in unix so you'll need to convert it&amp;nbsp; see my other post here&amp;nbsp;&lt;A href="https://community.esri.com/thread/215861"&gt;How do you convert epoch dates in Excel, Power Bi (query), Access from geodatabase&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11.Your new sheet will now show a new table with all your survey data. You can do this for all your feature layers and tables.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 22:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486818#M24454</guid>
      <dc:creator>Jean-YvesLandry2</dc:creator>
      <dc:date>2019-10-25T22:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486819#M24455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic! Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 22:36:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486819#M24455</guid>
      <dc:creator>DavidCook2</dc:creator>
      <dc:date>2019-10-25T22:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486820#M24456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Part 4: attachments and downloading images&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Find the service url for your attachments,&amp;nbsp; in the case of "Nested Repeats" the attachments (photos) are related to campsite_equipment.&lt;/P&gt;&lt;P&gt;You'll note that the URL for campsite_equipment is something like:&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;&lt;STRONG&gt;https://services1.arcgis.com/Sh1QwLSVKYk2AYjx/ArcGIS/rest/services/service_df0b96fd900d4b23b5af55964ff4ed08/FeatureServer/2&lt;/STRONG&gt;?token=&lt;/A&gt;&amp;nbsp;&lt;SPAN style="color: #606060;"&gt;wdskajhaods3kvmcasdlfjmakj324hk...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;If you scroll to the bottom you'll also find that you have an option called "Query Attachments"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;2.Click Query Attachments.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;You'll note that the url is similar but instead of ...FeatureServer/2/query... it is ...FeatureServer/2/queryAttachments...&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;Enter "objectid&amp;gt;0" for Definition Expression, select format JSON, and click Query Attachments (GET).&amp;nbsp; You can then see all your image attachments (this is what we'll fetch from Excel).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;&lt;IMG __jive_id="467856" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/467856_pastedImage_6.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;3. Back in Excel create a table named Hosted_FS2 with the url of the feature with attachment (you could use the same one as campsite_equipment, since they use the same URL, the only difference is the query.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;&lt;IMG __jive_id="467857" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/467857_pastedImage_8.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;4. Create a new query and use the variables from your newly created table. Note that i am only using the service URL variable and my query is in &lt;STRONG&gt;Source;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;&lt;STRONG&gt;&lt;IMG __jive_id="467858" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/467858_pastedImage_10.png" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;5. From there you can "drill down"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;-right click on list for attachmentGroups - into table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;-click on list for attachmentGroups&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;-right click column header- To table - Ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;-click arrow, then ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467860" class="jive-image image-4" height="178" src="https://community.esri.com/legacyfs/online/467860_pastedImage_12.png" width="300" /&gt;&lt;/P&gt;&lt;P&gt;-click arrows on attachmentinfos - Expand to new Rows&lt;/P&gt;&lt;P&gt;-click same arrows on attachmentinfos - select all, click ok&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467862" class="image-5 jive-image" height="194" src="https://community.esri.com/legacyfs/online/467862_pastedImage_14.png" width="322" /&gt;&lt;/P&gt;&lt;P&gt;6. For a little extra, you can add a new column with the image URL (giving the ability to access your survey picture through a link from excel)&lt;/P&gt;&lt;P&gt;-Add Column, custom column&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="467864" class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/467864_pastedImage_16.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRA: since you might want to rename your pictures based on your campground or campsite, you can merge the equipment table with the attachment table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 23:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486820#M24456</guid>
      <dc:creator>Jean-YvesLandry2</dc:creator>
      <dc:date>2019-10-25T23:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486821#M24457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't wait to try it.&amp;nbsp; Sorry for being so pushy; we do really appreciate your support :O)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 23:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486821#M24457</guid>
      <dc:creator>MartinPerez</dc:creator>
      <dc:date>2019-10-25T23:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486822#M24458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked like a charm!&amp;nbsp; I skipped some steps, like creating the tables, and used manual entries for the variables; but worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But ... I hit the feature query limit.&amp;nbsp; I know that there is no limit when querying the objectids, so you can query them first, and then you can query progressively in blocks until getting all the data.&amp;nbsp; mmmmm... it will take me a while to figure out that.&amp;nbsp; Any suggestions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for sharing all this information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2019 00:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486822#M24458</guid>
      <dc:creator>MartinPerez</dc:creator>
      <dc:date>2019-10-26T00:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using Excel to access Arcgis online (automated)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486823#M24459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;Hi!&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;There are some forums that request you to show some sort of research and effort to solve your issue before asking for help. So, this is what I tried; that worked, but I understand it is not an efficient way to do it. Please bear in mind that this is my first experience with Excel Power Query :O)&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;I modified the first data acquisition query to include my intended Where Clause as:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;//Custom Variables&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;whereClause = "some_field is not null",&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;//(remember that I skipped the table creations, so I needed to include here the actual values)&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;I added &amp;amp;orderByFields=objectid before &amp;amp;returnGeometry=false in the Source clause:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&amp;nbsp; Source = Json.Document(Web.Contents(fsURL&amp;amp;"query?where="&amp;amp;whereClause&amp;amp;"&amp;amp;outFields="&amp;amp;fieldsOut&amp;amp;"&amp;amp;orderByFields=objectid&amp;amp;returnGeometry=false&amp;amp;f=pjson&amp;amp;token="&amp;amp;token),65001),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="3"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;I created a new blank query and copied the first one into it, and made the following modification:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;whereClause = “some_field is not null and objectid &amp;gt; 55000“,&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;This is because I looked for the last objectid from the first query, remember that it is ordered by objectid. This created another worksheet with the next 10,000 block of data.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="4"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;Repeated the stetp 3. six more times to get the over 60,000 points I were interested in. So I ended with seven worksheets with all the data scattered.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="5"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;Went to Query tab&amp;nbsp;of the Ribbon (shown when selecting any cell of a queried table) and selected Append, Three or more tables, and selected all these queries:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;IMG alt="While selecting a Query, From Ribbon select Query, select Three or more tables radio, and Add to Tables to apped; then Ok." class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/468299_append_tables.PNG" /&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;This created the Append1 query you can see in the list; and it worked quite well for my experience with Power Query.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="6"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;I deleted the worksheets with the fragmented data, and left only the new one with all the data collected together. This changed all these queries to Connection only:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;IMG alt="Screenshot of the Show Queries pannel to show queries changed to Connection only." class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/468300_connection_only_query.PNG" /&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="7"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;Improved this process a little, by querying the objectids into a table, and using these values for the where clause of all other queries, to “automate” it a little more.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;I ran your original process changing the where clause to:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;whereClause = "worked_by is not null",&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;and adding &amp;amp;orderByFields=objectid&amp;amp;returnIdsOnly=true to the source line:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&amp;nbsp; Source = Json.Document(Web.Contents(fsURL&amp;amp;"query?where="&amp;amp;whereClause&amp;amp;"&amp;amp;outFields="&amp;amp;fieldsOut&amp;amp;"&amp;amp;orderByFields=objectid&amp;amp;returnIdsOnly=true&amp;amp;returnGeometry=false&amp;amp;f=pjson&amp;amp;token="&amp;amp;token),65001),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;then converted into table and drilled down etc. etc. etc.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="8"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;I then used this new table to address the query limit thresholds as:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;let&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;//Custom Variables&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;Query7=Excel.CurrentWorkbook()&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;{[Name="Query7"]}[Content],&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;objectid = Number.ToText(Query7{9999}[Objectid]),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;whereClause = "worked_by is not null and objectid &amp;gt; ",&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&amp;nbsp; Source = Json.Document(Web.Contents(fsURL&amp;amp;"query?where="&amp;amp;whereClause&amp;amp;objectid&amp;amp;"&amp;amp;outFields="&amp;amp;fieldsOut&amp;amp;"&amp;amp;orderByFields=objectid&amp;amp;returnGeometry=false&amp;amp;f=pjson&amp;amp;token="&amp;amp;token),65001),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;for the second query.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;Then:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;objectid = Number.ToText(Query7{19999}[Objectid]),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;objectid = Number.ToText(Query7{29999}[Objectid]),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;objectid = Number.ToText(Query7{39999}[Objectid]),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;objectid = Number.ToText(Query7{49999}[Objectid]),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;objectid = Number.ToText(Query7{59999}[Objectid]),&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;for the remaining queries (two to six, respectively, as the first and second ones where already correctly configured). I have a Query0 because I implemented the whereClause = “some_field is not null and objectid &amp;gt; 55000“, as my first query, and missed the first 10,000 points where objectid &amp;gt; was not needed.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;Now, I only need to refresh the objecids query, and then the Append1 query to gather all the data at once. Again, not efficient, but working :O)&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;So, what when my data layer increases over 100,000 features, or over 200,000? Do I create another four, five, ten more queries and append them all? I don’t think so. But looping around in Power Query seems a scary thing, as Power Query is not a conventional programming language, and remember that this is my first experience with it. Any help will be greatly appreciated.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2019 11:30:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-excel-to-access-arcgis-online-automated/m-p/486823#M24459</guid>
      <dc:creator>MartinPerez</dc:creator>
      <dc:date>2019-10-26T11:30:05Z</dc:date>
    </item>
  </channel>
</rss>

