<?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 rest for Feature Layer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501498#M60037</link>
    <description>&lt;P&gt;I think I am one step closer.&lt;/P&gt;&lt;P&gt;I am now retrieving the feature service settings/structure.&lt;/P&gt;&lt;P&gt;The first screen capture shows the token being passed to the Feature Layer and returning&amp;nbsp; various settings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img02.jpg" style="width: 988px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108806i6A94B3E1E121DB20/image-size/large?v=v2&amp;amp;px=999" role="button" title="img02.jpg" alt="img02.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The 2nd screen capture is the table for the Feature Layer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img03.jpg" style="width: 702px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108805iFCA174CA5AA5807C/image-size/large?v=v2&amp;amp;px=999" role="button" title="img03.jpg" alt="img03.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm assuming there is something I need to add to the url that ends "CAG_MONTHLY_RESIDENTIAL" to retrieve data from the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 10:56:58 GMT</pubDate>
    <dc:creator>StephenHall3</dc:creator>
    <dc:date>2024-07-04T10:56:58Z</dc:date>
    <item>
      <title>Using rest for Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501473#M60035</link>
      <description>&lt;P&gt;I am new to arcgis and trying to setup oauth to access a feature layer.&lt;/P&gt;&lt;P&gt;My assumption is that I needed to create an application with oauth credentials and (on successful authorisation) a redirect url to the feature layer (where I would pass the token) but I get "you do not have permissions...." message (GWM_0003).&lt;/P&gt;&lt;P&gt;Could someone offer some pointers to achieving the objective?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 08:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501473#M60035</guid>
      <dc:creator>StephenHall3</dc:creator>
      <dc:date>2024-07-04T08:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using rest for Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501475#M60036</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/811940"&gt;@StephenHall3&lt;/a&gt;&amp;nbsp;&amp;nbsp;the only thing you have to do for the "&lt;SPAN&gt;permissions message"&lt;/SPAN&gt; &amp;nbsp;is to differentiate the option when you share it from owner to public or to the organization you belong&amp;nbsp; to,&amp;nbsp; so that everyone has access. So you need to&amp;nbsp;&lt;SPAN&gt;generate an access token,&amp;nbsp; the following links will help you&amp;nbsp; :&lt;A title="generateToken: Generate Token" href="https://developers.arcgis.com/rest/users-groups-and-items/generate-token/" target="_self"&gt;https://developers.arcgis.com/rest/users-groups-and-items/generate-token/&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A title="OAuth credentials (for user authentication)" href="https://developers.arcgis.com/documentation/security-and-authentication/user-authentication/oauth-credentials-user/" target="_self"&gt;https://developers.arcgis.com/documentation/security-and-authentication/user-authentication/oauth-credentials-user/&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Georgios-Nektarios Tselos&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 08:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501475#M60036</guid>
      <dc:creator>Georgios-NektariosTselos</dc:creator>
      <dc:date>2024-07-04T08:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using rest for Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501498#M60037</link>
      <description>&lt;P&gt;I think I am one step closer.&lt;/P&gt;&lt;P&gt;I am now retrieving the feature service settings/structure.&lt;/P&gt;&lt;P&gt;The first screen capture shows the token being passed to the Feature Layer and returning&amp;nbsp; various settings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img02.jpg" style="width: 988px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108806i6A94B3E1E121DB20/image-size/large?v=v2&amp;amp;px=999" role="button" title="img02.jpg" alt="img02.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The 2nd screen capture is the table for the Feature Layer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img03.jpg" style="width: 702px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108805iFCA174CA5AA5807C/image-size/large?v=v2&amp;amp;px=999" role="button" title="img03.jpg" alt="img03.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm assuming there is something I need to add to the url that ends "CAG_MONTHLY_RESIDENTIAL" to retrieve data from the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 10:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501498#M60037</guid>
      <dc:creator>StephenHall3</dc:creator>
      <dc:date>2024-07-04T10:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using rest for Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501503#M60038</link>
      <description>&lt;P&gt;Yes,&amp;nbsp; &amp;nbsp;i suggest to check both of&amp;nbsp; these links&amp;nbsp; and i think you will solve your issue&lt;/P&gt;&lt;P&gt;&lt;A title="Token" href="https://developers.arcgis.com/rest/users-groups-and-items/token/" target="_self"&gt;https://developers.arcgis.com/rest/users-groups-and-items/token/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="sharing/rest: Root" href="https://developers.arcgis.com/rest/users-groups-and-items/root/" target="_self"&gt;https://developers.arcgis.com/rest/users-groups-and-items/root/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Georgios-Nektarios Tselos&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 11:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501503#M60038</guid>
      <dc:creator>Georgios-NektariosTselos</dc:creator>
      <dc:date>2024-07-04T11:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using rest for Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501508#M60039</link>
      <description>&lt;P&gt;Success.&lt;/P&gt;&lt;P&gt;For anyone trying to figure this out (because I could not find any clear examples of how to implement this from beginning to end) here is how it was done.&lt;/P&gt;&lt;P&gt;1. Create a Feature Layer which will contain the database table (columns and rows).&lt;/P&gt;&lt;P&gt;2. Create an Application which will contain a Client ID , Client Secret and a Redirect URL (which will be the url of the Feature Layer) .&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Using Postman you will enter the URL of the Application, passing in the params client_id, client_secret and grant_type&lt;/P&gt;&lt;P&gt;4. a Token will be returned&lt;/P&gt;&lt;P&gt;5. Using Postman you will enter the URL of the Feature Layer similar to the following:&lt;/P&gt;&lt;P data-unlink="true"&gt;https://&amp;lt;domain&amp;gt;/&amp;lt;context&amp;gt;/rest/services/&amp;lt;Feature&amp;nbsp;&amp;nbsp;Layer Name&amp;gt;/FeatureServer/&amp;lt;Dataset/Table Name&amp;gt;/query? along with the following parameters:&lt;/P&gt;&lt;P data-unlink="true"&gt;f = json, token=[token val you prev received], address=[post code/zip/full address etc], outFields=*,where=[query string ie postcode like 'EH3 4QW']&lt;/P&gt;&lt;P data-unlink="true"&gt;This will return a json file containing all the properties and values relative to the query&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 11:44:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-rest-for-feature-layer/m-p/1501508#M60039</guid>
      <dc:creator>StephenHall3</dc:creator>
      <dc:date>2024-07-04T11:44:17Z</dc:date>
    </item>
  </channel>
</rss>

