Is it possible to acqiure a layer's Feature Class name via workflows?
Hey everyone,
something we've always wanted for our application is a way to dynamically open our metadata catalogue and show a layer's corresponding metadata, for example over the layer context menu.
This would be doable if VSW was able to acquire a layer's SDE Feature Class name and add it to an URL as a suffix - does anyone have experience with this?
-
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 -
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.
Commentaires
2 commentaires