-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't find a feature class inside a schema/owner #18
Comments
I can see that this may not be possible because of rest esri api limitations. Specifically, the service manifest strips the schema/owner from the feature class name, so this is not available: |
Thanks for posting. This actually may be possible, as each database connection referenced by the service does have a
You can see in the connection strings above, that it is referencing the default One disclaimer, all of our databsases use SQL Server, and since the link you provided was pointed to your |
Hi @CalebM1987. I think the version is not the solution. The issue I refer to is about 2 users having an FC with the same name, not in different versions. Since the the manifest strips the owner of the feature class I don't see any way to get this info. |
If you have 2 feature classes with the same name but in different schemas or different owners, both are found.
For example:
user1.fcRivers
user2.fcRivers
Code:
# find services that have the parcels layer from this sde database
ws = r'\arcserver2\SDE_Connections\MN_GIS_LIS.sde'
feature_classes = ['user1.fcRivers']
matching = server.find_services_containing(ws, feature_classes)
This will match all services that use either feature classe, from user1 and user2.
It would be logical and useful to consider them different things.
The text was updated successfully, but these errors were encountered: