<?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: How do you programmatically find if a mapservice is AGOL Hosted or published on ArcGIS for Server? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-programmatically-find-if-a-mapservice/m-p/21213#M1854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see the owningSystemUrl property on hosted services. However, i dont see it on &lt;A href="http://203.199.47.146/arcgis/rest/info?f=pjson"&gt;10.1.1 &lt;/A&gt;or &lt;A href="http://203.199.47.114/arcgis/rest/info?f=pjson"&gt;10.2&lt;/A&gt; or &lt;A href="http://203.199.47.103/arcgis/rest/info?f=pjson"&gt;10.2.1&lt;/A&gt; arcgis for server !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 15:53:41 GMT</pubDate>
    <dc:creator>WhereMatters</dc:creator>
    <dc:date>2014-08-04T15:53:41Z</dc:date>
    <item>
      <title>How do you programmatically find if a mapservice is AGOL Hosted or published on ArcGIS for Server?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-programmatically-find-if-a-mapservice/m-p/21211#M1852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to find if a map/feature service is AGOL hosted or is published through ArcGIS Server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to identify this programmatically. Tried to look and compare the service infos, but they look very identical and unable to latch on to an attribute that tells you if a service is published on ArcGIS Server or AGOL Hosted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The url patterns are quite different though.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For arcgis server it is always &lt;/SPAN&gt;http:://&lt;SPAN&gt;&amp;lt;hostname&amp;gt;/&amp;lt;arcgisinstance&amp;gt;/rest/services&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For hosted services it is always &lt;/SPAN&gt;http:://services.arcgis.com/&lt;SPAN&gt;&amp;lt;‌orgid&amp;gt;/arcgis/rest/services&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-programmatically-find-if-a-mapservice/m-p/21211#M1852</guid>
      <dc:creator>WhereMatters</dc:creator>
      <dc:date>2014-08-04T13:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you programmatically find if a mapservice is AGOL Hosted or published on ArcGIS for Server?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-programmatically-find-if-a-mapservice/m-p/21212#M1853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure but you can see Server Information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://services.arcgis.com/PIHO6ktvSqBcguO8/arcgis/rest/info?f=pjson" title="http://services.arcgis.com/PIHO6ktvSqBcguO8/arcgis/rest/info?f=pjson"&gt;http://services.arcgis.com/yourid/arcgis/rest/info?f=pjson&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and see "owningSystemUrl" : '&lt;A href="http://www.arcgis.com/"&gt;http://www.arcgis.com&lt;/A&gt;' If it's arcgis.com it's hosted.&lt;/P&gt;&lt;P&gt;The property owningSystemUrl is added in 10.1 SP1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:51:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-programmatically-find-if-a-mapservice/m-p/21212#M1853</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2014-08-04T13:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you programmatically find if a mapservice is AGOL Hosted or published on ArcGIS for Server?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-programmatically-find-if-a-mapservice/m-p/21213#M1854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see the owningSystemUrl property on hosted services. However, i dont see it on &lt;A href="http://203.199.47.146/arcgis/rest/info?f=pjson"&gt;10.1.1 &lt;/A&gt;or &lt;A href="http://203.199.47.114/arcgis/rest/info?f=pjson"&gt;10.2&lt;/A&gt; or &lt;A href="http://203.199.47.103/arcgis/rest/info?f=pjson"&gt;10.2.1&lt;/A&gt; arcgis for server !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 15:53:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-programmatically-find-if-a-mapservice/m-p/21213#M1854</guid>
      <dc:creator>WhereMatters</dc:creator>
      <dc:date>2014-08-04T15:53:41Z</dc:date>
    </item>
  </channel>
</rss>

