Solved! Go to Solution.
I need to retrieve the metadata information from a feature layer. Is there any sample or code snippet that I can use to understand the method?
Thanks
Farhad,
You can get a Map Services metadata by making request to the map rest end point like this:
http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer?f=pjs... and parse the JSON for the
serviceDescription. Sometime you can get the description from an individual layer of a map service, but true metadata is not available form the REST endpoint. This is why you can not find any examples.
Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow the steps as shown in the below graphic: