<?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 https://MyEsriUrl/arcgis/rest/services?f=sitemap doesn't work in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197730#M930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE style="width: 800px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="width: 785px;"&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;I have some code that queries the esri webserver for a list of services.&lt;/P&gt;&lt;P&gt;I start off with:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;A href="https://MyEsriUrl/arcgis/rest/services?f=sitemap" rel="nofollow noreferrer"&gt;https://MyEsriUrl/arcgis/rest/services?f=sitemap&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That code worked for years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We recently attached a portal to our esri webserver. We're now running v10.5 of both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the esri admin can issue this command in the browser and it still works, but if I issue it I get an empty list back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it might be a permissions issue except for three facts:&lt;/P&gt;&lt;P&gt;(1) If I go to&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;A href="https://MyEsriUrl/arcgis/rest/services" rel="nofollow noreferrer"&gt;https://MyEsriUrl/arcgis/rest/services&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I can see everything I ought to see.&lt;/P&gt;&lt;P&gt;(2) I've found out that I can now use&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;A href="https://MyEsriUrl/arcgis/rest/services?f=json" rel="nofollow noreferrer"&gt;https://MyEsriUrl/arcgis/rest/services?f=json&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and that also works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) Esri admin added me to the esri admin role and I still can't see anything with ?f=sitemap.&lt;/P&gt;&lt;P&gt;Obviously, I can rewrite the code to work, but that app is scheduled to be replaced and I would rather spend time working on the replacement app...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to get ?f=sitemap to work properly?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 13:40:45 GMT</pubDate>
    <dc:creator>DavidWendelken</dc:creator>
    <dc:date>2017-07-19T13:40:45Z</dc:date>
    <item>
      <title>https://MyEsriUrl/arcgis/rest/services?f=sitemap doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197730#M930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE style="width: 800px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="width: 785px;"&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;I have some code that queries the esri webserver for a list of services.&lt;/P&gt;&lt;P&gt;I start off with:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;A href="https://MyEsriUrl/arcgis/rest/services?f=sitemap" rel="nofollow noreferrer"&gt;https://MyEsriUrl/arcgis/rest/services?f=sitemap&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That code worked for years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We recently attached a portal to our esri webserver. We're now running v10.5 of both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the esri admin can issue this command in the browser and it still works, but if I issue it I get an empty list back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it might be a permissions issue except for three facts:&lt;/P&gt;&lt;P&gt;(1) If I go to&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;A href="https://MyEsriUrl/arcgis/rest/services" rel="nofollow noreferrer"&gt;https://MyEsriUrl/arcgis/rest/services&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I can see everything I ought to see.&lt;/P&gt;&lt;P&gt;(2) I've found out that I can now use&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;A href="https://MyEsriUrl/arcgis/rest/services?f=json" rel="nofollow noreferrer"&gt;https://MyEsriUrl/arcgis/rest/services?f=json&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and that also works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) Esri admin added me to the esri admin role and I still can't see anything with ?f=sitemap.&lt;/P&gt;&lt;P&gt;Obviously, I can rewrite the code to work, but that app is scheduled to be replaced and I would rather spend time working on the replacement app...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to get ?f=sitemap to work properly?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 13:40:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197730#M930</guid>
      <dc:creator>DavidWendelken</dc:creator>
      <dc:date>2017-07-19T13:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: https://MyEsriUrl/arcgis/rest/services?f=sitemap doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197731#M931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Item #3 above was a browser caching issue.&amp;nbsp; So at least I'm getting consistent results.&lt;BR /&gt;&lt;BR /&gt;Any ideas how to get ?f=sitemap to work for someone who isn't a site admin?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197731#M931</guid>
      <dc:creator>DavidWendelken</dc:creator>
      <dc:date>2017-07-20T12:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: https://MyEsriUrl/arcgis/rest/services?f=sitemap doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197732#M932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/248155/esri-rest-service-f-sitemap-returns-no-services" title="https://gis.stackexchange.com/questions/248155/esri-rest-service-f-sitemap-returns-no-services"&gt;arcgis server - esri rest service ?f=sitemap returns no services - Geographic Information Systems Stack Exchange&lt;/A&gt; covers this in more detail.&lt;BR /&gt;&lt;BR /&gt;Apparently, this is intended behavior.&amp;nbsp;&amp;nbsp; Can't understand why, but it is what it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 13:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197732#M932</guid>
      <dc:creator>DavidWendelken</dc:creator>
      <dc:date>2017-07-20T13:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: https://MyEsriUrl/arcgis/rest/services?f=sitemap doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197733#M933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've rewritten my code to make multiple, recursive calls to the server via the ?f=json and it's slow as all get out.&amp;nbsp;&amp;nbsp; Yuck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I'm going to create a service acct with GIS admin privs and create a web service to wrap the call to the ?f=sitemap option.&amp;nbsp;&amp;nbsp; That way, the web service will ask as an admin and pass the data I need back much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For gis websites that aren't "ours" (so we don't have admin access), we'll use the new code I've written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/https-myesriurl-arcgis-rest-services-f-sitemap/m-p/197733#M933</guid>
      <dc:creator>DavidWendelken</dc:creator>
      <dc:date>2017-07-21T13:21:04Z</dc:date>
    </item>
  </channel>
</rss>

