Getting project name (aprx) and datasets from service

248
2
Jump to solution
09-08-2021 02:06 AM
EloyBonillaPerez
New Contributor II

Good morning,

I am quite new to Arcgis and this is my first post. I hope I am posting it in the right place.

I am getting nuts trying to get the aprx file related to a service. I have tried using the api and accessing to the json files directly. My goal is to get a list of all folders\services\maps\layers and the aprx and datasets related. 

I have even tried scraping the web page but without success and have found nothing in the documentation or forums. (The page is dynamically created, so no useful html code is available. I have even tried using selenium)

By accessing the service url (host/server/manager/service.html?name=xxxxx.MapServer&folder=xxxxxxx) you can see the path to the aprx. That is what I am trying to read.

Any ideas? Whatever clue will be greatly appreciated.

With best regards,

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor

Solved: Get MXD path property for a service published on A... - Esri Community

I guess an aprx would be the same, I find the _service_manifest very useful for tracking down data sources also, credi to @JoshuaBixby .

View solution in original post

2 Replies
DavidPike
MVP Frequent Contributor

Solved: Get MXD path property for a service published on A... - Esri Community

I guess an aprx would be the same, I find the _service_manifest very useful for tracking down data sources also, credi to @JoshuaBixby .

EloyBonillaPerez
New Contributor II

Thanks a lot David!!!!! It worked.

0 Kudos