I'm trying to access the service manifest xml (the same that appears via "https://..../arcgis/admin/services/folder/.../iteminfo/manifest/manifest.xml" through the arcgis.gis.server module.
I've followed the docos here: https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#service
The json I can reach but it hides the Oracle DB schema name.
Here is an example of my script - any advice?:
server = Server(url="https://.../arcgis/admin", username= r"u", password = r"pw") services = server.services for x in services.list(folder='folder1'): service_name = x.iteminformation.properties['name'] service_manifest = x.iteminformation.manifest #this works fine but hides the oracle DB schema name service_manifest_xml = x.service_manifest(file_type='xml') #this gets the error AttributeError: 'Service' object has no attribute 'service_manifest
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.