<?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: Programmatically get a list of all organization survey owners in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/programmatically-get-a-list-of-all-organization/m-p/1554371#M59867</link>
    <description>&lt;P&gt;When you search your content, use &lt;STRONG&gt;item_type='form'&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis import GIS

gis = GIS('your portal', 'user', 'password')

surveys = gis.content.search(
    '',
    item_type= 'form',
    max_items= -1
)

for s in surveys:
    print(f'{s.owner:16} | {s.id:32} | {s.title}')&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1730392342807.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118578i15171362ECA2C0BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1730392342807.png" alt="jcarlson_0-1730392342807.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;jcarlson_0-1730392342807.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 16:32:28 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2024-10-31T16:32:28Z</dc:date>
    <item>
      <title>Programmatically get a list of all organization survey owners</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/programmatically-get-a-list-of-all-organization/m-p/1554327#M59863</link>
      <description>&lt;P&gt;I'm curious if anyone has a strategy to programmatically (search API, Python, etc.) get a list of all survey items in an organization (and hence all survey owners as well).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 15:39:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/programmatically-get-a-list-of-all-organization/m-p/1554327#M59863</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2024-10-31T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically get a list of all organization survey owners</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/programmatically-get-a-list-of-all-organization/m-p/1554371#M59867</link>
      <description>&lt;P&gt;When you search your content, use &lt;STRONG&gt;item_type='form'&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis import GIS

gis = GIS('your portal', 'user', 'password')

surveys = gis.content.search(
    '',
    item_type= 'form',
    max_items= -1
)

for s in surveys:
    print(f'{s.owner:16} | {s.id:32} | {s.title}')&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1730392342807.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118578i15171362ECA2C0BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1730392342807.png" alt="jcarlson_0-1730392342807.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;jcarlson_0-1730392342807.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 16:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/programmatically-get-a-list-of-all-organization/m-p/1554371#M59867</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-10-31T16:32:28Z</dc:date>
    </item>
  </channel>
</rss>

