AnsweredAssumed Answered

List  ArcGIS Server Services and URLs to Services

Question asked by AlexSabrina on Oct 5, 2015
Latest reply on Mar 23, 2018 by mkaminow

Hi all,

I am trying to list out all the services names and URL and output it to an html table. I am doing so for each of the  folders that we have in our ArcGIS Server. To accomplish that I am using ESRI/request module. I can retrieve the name of the service easy with this module, but can i also retrieve the URL?

 

ESRI example that I am using:

                   

Enter the URL for a layer in a map service to access metadata about a layer in a map service using esriRequest.

 

             

 

   

Content

   

Check the console for the full response. Here we'll display Field names, aliases and types:

     

Outcomes