<?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: Query AGOL content based on group ID in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/query-agol-content-based-on-group-id/m-p/1246634#M49688</link>
    <description>&lt;P&gt;It looks like based on the &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm" target="_blank"&gt;Search reference—ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&amp;nbsp;the format is&lt;/P&gt;&lt;P&gt;query = "group:groupID"&lt;/P&gt;&lt;P&gt;It is mentioned in the "Item Fields" table about halfway down that reference page.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 22:51:02 GMT</pubDate>
    <dc:creator>DanielMiranda2</dc:creator>
    <dc:date>2023-01-09T22:51:02Z</dc:date>
    <item>
      <title>Query AGOL content based on group ID</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/query-agol-content-based-on-group-id/m-p/1244681#M49556</link>
      <description>&lt;P&gt;I'm attempting to query all of my organization's AGOL content that is a dashboard and within a single group (based on the group ID).&lt;/P&gt;&lt;P&gt;Here is a snippet from my code:&lt;/P&gt;&lt;PRE&gt;import arcgis&lt;BR /&gt;&lt;BR /&gt;gis = arcgis.gis.GIS("https://www.arcgis.com", "username", "password")&lt;BR /&gt;&lt;BR /&gt;dashboardItems = gis.content.search(query="id:groupID", item_type="Dashboard", max_items=9999)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I end up returning no items in the query even though there are multiple dashboards in my group content. I'm wondering if the issue has to do with the fact that both item and group IDs can be queried using the id field and maybe the query is trying to find a matching item ID (instead of group ID)?&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2022 02:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/query-agol-content-based-on-group-id/m-p/1244681#M49556</guid>
      <dc:creator>JulianaSpector1</dc:creator>
      <dc:date>2022-12-31T02:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Query AGOL content based on group ID</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/query-agol-content-based-on-group-id/m-p/1246634#M49688</link>
      <description>&lt;P&gt;It looks like based on the &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm" target="_blank"&gt;Search reference—ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&amp;nbsp;the format is&lt;/P&gt;&lt;P&gt;query = "group:groupID"&lt;/P&gt;&lt;P&gt;It is mentioned in the "Item Fields" table about halfway down that reference page.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 22:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/query-agol-content-based-on-group-id/m-p/1246634#M49688</guid>
      <dc:creator>DanielMiranda2</dc:creator>
      <dc:date>2023-01-09T22:51:02Z</dc:date>
    </item>
  </channel>
</rss>

