<?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: Get Data Source for ArcGIS Map Service Layers in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211851#M8374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you go to ArcGIS Server Manager, then click on the Service Workspaces button next to the Service name and the type of service, (it looks like a geodatabase/database icon), you can see the workspaces the data in the service resides in.&amp;nbsp; You can expand the workspace to see the individual feature classes in the service.&amp;nbsp; These are Rest calls, so take a look at the web traffic when traversing the Service Workspaces windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2016 22:17:36 GMT</pubDate>
    <dc:creator>JonathanQuinn</dc:creator>
    <dc:date>2016-05-25T22:17:36Z</dc:date>
    <item>
      <title>Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211846#M8369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for some programmatic way to get the underlying data source used for a Map Service Layer.&amp;nbsp;&amp;nbsp;&amp;nbsp; We use mostly SDE layers, so I would like the Feature Class Name.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to do this with ArcObjects with C# .NET prior to 10.1 but I don't believe it can be done the same way due to the changes in ArcGIS Server architecture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any code examples of getting the layer sources?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may end up using the MXD to compile data sources,&amp;nbsp; but would like to go against the map services directly if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 22:47:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211846#M8369</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2016-05-24T22:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211847#M8370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you wanting to get the data source of your own company's Map Services? Or are you hoping to get the data source of any Map Service you find in ArcGIS Online?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 04:47:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211847#M8370</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-05-25T04:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211848#M8371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for the data source of our organization's map services that are hosted on our internal ArcGIS Server not those on AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 15:31:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211848#M8371</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2016-05-25T15:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211849#M8372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you might be able to collect that information via ArcPy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/alphabeticallistoffunctions.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/alphabeticallistoffunctions.htm"&gt;Alphabetical list of arcpy.mapping functions—Help | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/alphabeticallistofclasses.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/alphabeticallistofclasses.htm"&gt;Alphabetical list of arcpy.mapping classes—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps gets you pointed in the correct direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2145"&gt;Python&lt;/A&gt;​ &lt;A href="https://community.esri.com/group/1519"&gt;python snippets&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:05:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211849#M8372</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2016-05-25T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211850#M8373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'll need to go back to the source mxd.&amp;nbsp; I don't believe the originating source information is exposed via the service.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211850#M8373</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-05-25T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211851#M8374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you go to ArcGIS Server Manager, then click on the Service Workspaces button next to the Service name and the type of service, (it looks like a geodatabase/database icon), you can see the workspaces the data in the service resides in.&amp;nbsp; You can expand the workspace to see the individual feature classes in the service.&amp;nbsp; These are Rest calls, so take a look at the web traffic when traversing the Service Workspaces windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 22:17:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211851#M8374</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-05-25T22:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211852#M8375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have to go back to the mxd to do it programatically, you may want to see if there is something in this sample tool&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=7d6f7b4548f64d7ca8ba5cf73b0d9932" title="http://www.arcgis.com/home/item.html?id=7d6f7b4548f64d7ca8ba5cf73b0d9932"&gt;http://www.arcgis.com/home/item.html?id=7d6f7b4548f64d7ca8ba5cf73b0d9932&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="background-color: white; color: black; background-position: initial;"&gt;&lt;STRONG&gt;Custom Toolbox providing a compact/detailed MXD description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; background-position: initial;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: white; background-position: initial;"&gt; Run in ArcMap/ArcCatalog.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #4d4d4d; font-size: 10pt;"&gt;The selected mxd file is analyzed and the result is saved in a txt report file. No need to open the Map Document.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done something similar, but I think I only grabbed the info for broken links. &lt;A href="https://community.esri.com/migration-blogpost/55043"&gt;Python addin for data inventory and “broken-link” repair.&lt;/A&gt;​ so this tool might have more (I have not tested...just saw it as I was looking at the other samples)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 00:40:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211852#M8375</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-05-26T00:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211853#M8376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you publish mxd to map service the mxd is copied to C:\arcgisserver\directories\arcgissystem\arcgisinput\&amp;lt;serviceName&amp;gt;.MapServer\extracted\v101\&amp;lt;serviceName).mxd&lt;/P&gt;&lt;P&gt;You can get this file, open it (arcpy or ArcObjects) and get all information.&lt;/P&gt;&lt;P&gt;Do not change it!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun&lt;/P&gt;&lt;P&gt;Mody&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 05:02:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211853#M8376</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2016-05-26T05:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211854#M8377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/5839"&gt;Mele Koneya&lt;/A&gt;​: Adding to Jon's answer, you may want to take a look at this GitHub sample &lt;A href="https://github.com/pheede/agsadmin-devsummit" title="https://github.com/pheede/agsadmin-devsummit"&gt;https://github.com/pheede/agsadmin-devsummit&lt;/A&gt;​. Specifically the GetServiceManifest method in &lt;A href="https://github.com/pheede/agsadmin-devsummit/blob/master/ArcGISRESTAdmin/AGSClient.cs" title="https://github.com/pheede/agsadmin-devsummit/blob/master/ArcGISRESTAdmin/AGSClient.cs"&gt;https://github.com/pheede/agsadmin-devsummit/blob/master/ArcGISRESTAdmin/AGSClient.cs&lt;/A&gt;​ which uses the REST Admin API to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 15:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211854#M8377</guid>
      <dc:creator>pheede-esri</dc:creator>
      <dc:date>2016-05-29T15:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211855#M8378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the samples!&amp;nbsp;&amp;nbsp; This looks like I was looking for.&amp;nbsp;&amp;nbsp; I like that it is in C# too.&amp;nbsp;&amp;nbsp; I will work with it this week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 15:40:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211855#M8378</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2016-05-30T15:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211856#M8379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Philip,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am finally getting back to this,&amp;nbsp; but am not getting the information I want.&amp;nbsp;&amp;nbsp; Below is the code that I am using.&amp;nbsp;&amp;nbsp; Can you see what I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mele&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;namespace&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; ConsoleApplication1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Program&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;static&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; Main(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;[] args)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;AGSClient&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; Client = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;AGSClient&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2FMyServer%3A6443%2Farcgis%2Fadmin" rel="nofollow" target="_blank"&gt;https://MyServer:6443/arcgis/admin&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"User"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"PWD"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Task&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, ArcGISRESTAdmin.Classes.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;ServiceReport&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;[]&amp;gt;&amp;gt; taskServiceReports = Client.GetAllServiceReports();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, ArcGISRESTAdmin.Classes.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;ServiceReport&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;[]&amp;gt; dctServiceReports = taskServiceReports.Result;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;foreach&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;KeyValuePair&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, ArcGISRESTAdmin.Classes.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;ServiceReport&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;[]&amp;gt; kvp &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; dctServiceReports)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; theKey = kvp.Key;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; ArcGISRESTAdmin.Classes.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;ServiceReport&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;[] serviceReports = kvp.Value;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; x = 0; x &amp;lt; serviceReports.Length; x++)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; serviceName = serviceReports&lt;X&gt;.serviceName;&lt;/X&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; configuredStatus = serviceReports&lt;X&gt;.status.configuredState.ToString();&lt;/X&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Task&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;ServiceManifest&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;gt; manifest = Client.GetServiceManifest(serviceReports&lt;X&gt;, &lt;/X&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 20:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211856#M8379</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2017-08-28T20:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211857#M8380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found this presentation that helped me out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.esri.com/videos/watch?videoid=3335&amp;amp;isLegacy=true&amp;amp;title=arcgis-for-server-administration-api-for-c-developers" title="http://www.esri.com/videos/watch?videoid=3335&amp;amp;isLegacy=true&amp;amp;title=arcgis-for-server-administration-api-for-c-developers"&gt;Home | Esri Video&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 19:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211857#M8380</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2017-08-29T19:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211858#M8381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I ended up doing with the GitHub Code from Philip Heede.&amp;nbsp;&amp;nbsp; Works great.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/pheede/agsadmin-devsummit"&gt;https://github.com/pheede/agsadmin-devsummit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static async Task DoWork()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSClient Client = new AGSClient("&lt;A href="https://server:6080/arcgis/admin/"&gt;https://server:6080/arcgis/admin/&lt;/A&gt;", "user", "pwd");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; await Client.Authenticate();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine("Authenticated against {0}: {1}", Client.ServerUrl, Client.IsAuthenticated);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine("Session expires at {0}", Client.TokenExpiration.ToLocalTime());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine("------------------");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // get status of all services in all folders&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var folders = await Client.GetFolderNames();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine("The following folders are defined on the server:");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine("/");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (string folder in folders)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine(folder);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine("------------------");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var taskServiceReports = await Client.GetAllServiceReports();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (string folder in taskServiceReports.Keys)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine(folder);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var report in taskServiceReports[folder])&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine(folder);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine(string.Format(" - {0}: {1}", report.serviceName, report.status.realTimeState.ToString()));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var manifest = await Client.GetServiceManifest(report, report.folderName);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var db in manifest.databases)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Console.Out.WriteLine(db.onPremiseConnectionString);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var ds in db.datasets)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine(ds.onServerName);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.Out.WriteLine("------------------");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 17:50:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211858#M8381</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2017-08-30T17:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211859#M8382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 23:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211859#M8382</guid>
      <dc:creator>TomBell1</dc:creator>
      <dc:date>2018-06-26T23:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211860#M8383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the server copy of the MXD seems to be a very little known fact that I just recently had to explain to someone.&amp;nbsp;It would be crazy to&amp;nbsp;think the link between map service and MXD would otherwise be lost. What I've used is something like the below. I can run this locally if I've shared the server directory.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import glob
for item in glob.glob('//myserver/arcgisserver/directories/arcgissystem/arcgisinput/**/*.mxd',recursive=True):
&amp;nbsp;&amp;nbsp;&amp;nbsp;print(item)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:11:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211860#M8383</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-12-12T16:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211861#M8384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the video?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/videos/watch?videoid=WxUFh0c9hNw&amp;amp;title=ArcGIS%20Enterprise%3A%20Architecting%20Your%20Deployment"&gt;https://www.esri.com/videos/watch?videoid=WxUFh0c9hNw&amp;amp;title=ArcGIS%20Enterprise%3A%20Architecting%20Your%20Deployment&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 19:40:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/211861#M8384</guid>
      <dc:creator>AndresCastillo</dc:creator>
      <dc:date>2019-05-09T19:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Source for ArcGIS Map Service Layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/1318153#M36823</link>
      <description>&lt;P&gt;link is dead&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 06:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-data-source-for-arcgis-map-service-layers/m-p/1318153#M36823</guid>
      <dc:creator>SE_GIS_BWDB</dc:creator>
      <dc:date>2023-08-13T06:04:45Z</dc:date>
    </item>
  </channel>
</rss>

