Aller au contenu principal

Is it possible to acqiure a layer's Feature Class name via workflows?

Commentaires

2 commentaires

  • Berend Veldkamp

    In general, it's not advisable to have details about the database to be readable by end users. So maybe it's an idea to have a (arcpy) script that runs from ArcGIS Pro, after a service is published, and writes the information that you need (the service name and a URL to the metadata) to a database table which, in turn, is readable by a workflow? 

     

    In theory it can be done though. The info is exposed via the ArcGIS Server's admin REST interface, e.g. 

    https://YOUR_SERVER/arcgis/admin/services/FOLDER/SERVICE_NAME.MapServer/iteminfo/manifest/manifest.json

    Although this interface may be blocked by policies. But otherwise, if a user has the necessary privileges, it could be done using WebRequests. However, as the name says, this is the admin interface, so it's probably not what you want.

     

     

    1
  • Andreas Grimm

    Thank you Berend, I will look into the “write Layername+FC in geodatabase table” solution - going over the admin REST interface is indeed not feasible in our environment.

    0

Vous devez vous connecter pour laisser un commentaire.