<?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 Access 'iteminformation' property on Stand-Alone ArcGIS Server? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/access-iteminformation-property-on-stand-alone/m-p/767149#M563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to use the property&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#arcgis.gis.server.Service.iteminformation" rel="nofollow noopener noreferrer" target="_blank"&gt; 'iteminformation' &amp;lt;link&amp;gt;&lt;/A&gt;&amp;nbsp;to access information about the data stores a service uses on a stand alone AGS system.&amp;nbsp; However, we are getting the following when trying to use it:&amp;nbsp;&lt;SPAN class="" style="color: #b22b31; background-color: transparent; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;AttributeError&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: transparent; text-decoration: none; font-size: 14px;"&gt;: 'Service' object has no attribute 'iteminformation'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;API version is 1.7.0, but I also confirmed the same when trying a different environment running 1.8.2.&amp;nbsp; And running the dir() command on the service object shows there is an 'iteminformation' property there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code:&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;from arcgis.gis import server
server_base_url = "&lt;EM&gt;&amp;lt;your server/webadaptor&amp;gt;&lt;/EM&gt;"
user = '&lt;EM&gt;&amp;lt;admin username&amp;gt;&lt;/EM&gt;'
pswd = '&lt;EM&gt;&amp;lt;admin password&amp;gt;&lt;/EM&gt;'
gis_server = server.Server(url=f"{server_base_url}/admin",
 &amp;nbsp;&amp;nbsp;&amp;nbsp;token_url=f"{server_base_url}/tokens/generateToken",
 &amp;nbsp;&amp;nbsp;&amp;nbsp;username=user,
 &amp;nbsp;&amp;nbsp;&amp;nbsp;password=pswd)
service = gis_server.content.get('ADMU_DEMO', folder='admin_boundaries')
service.service.iteminformation&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:32:19 GMT</pubDate>
    <dc:creator>Huber_Daniel_C</dc:creator>
    <dc:date>2021-12-12T08:32:19Z</dc:date>
    <item>
      <title>Access 'iteminformation' property on Stand-Alone ArcGIS Server?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/access-iteminformation-property-on-stand-alone/m-p/767149#M563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to use the property&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#arcgis.gis.server.Service.iteminformation" rel="nofollow noopener noreferrer" target="_blank"&gt; 'iteminformation' &amp;lt;link&amp;gt;&lt;/A&gt;&amp;nbsp;to access information about the data stores a service uses on a stand alone AGS system.&amp;nbsp; However, we are getting the following when trying to use it:&amp;nbsp;&lt;SPAN class="" style="color: #b22b31; background-color: transparent; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;AttributeError&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: transparent; text-decoration: none; font-size: 14px;"&gt;: 'Service' object has no attribute 'iteminformation'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;API version is 1.7.0, but I also confirmed the same when trying a different environment running 1.8.2.&amp;nbsp; And running the dir() command on the service object shows there is an 'iteminformation' property there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code:&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;from arcgis.gis import server
server_base_url = "&lt;EM&gt;&amp;lt;your server/webadaptor&amp;gt;&lt;/EM&gt;"
user = '&lt;EM&gt;&amp;lt;admin username&amp;gt;&lt;/EM&gt;'
pswd = '&lt;EM&gt;&amp;lt;admin password&amp;gt;&lt;/EM&gt;'
gis_server = server.Server(url=f"{server_base_url}/admin",
 &amp;nbsp;&amp;nbsp;&amp;nbsp;token_url=f"{server_base_url}/tokens/generateToken",
 &amp;nbsp;&amp;nbsp;&amp;nbsp;username=user,
 &amp;nbsp;&amp;nbsp;&amp;nbsp;password=pswd)
service = gis_server.content.get('ADMU_DEMO', folder='admin_boundaries')
service.service.iteminformation&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/access-iteminformation-property-on-stand-alone/m-p/767149#M563</guid>
      <dc:creator>Huber_Daniel_C</dc:creator>
      <dc:date>2021-12-12T08:32:19Z</dc:date>
    </item>
  </channel>
</rss>

