Select to view content in your preferred language

List the List the Featureclass name from Oracle SDE connection in SDK

434
3
Jump to solution
03-21-2024 05:36 AM
SumitMishra_016
Frequent Contributor

How to get the list of Featureclass names from Oracle SDE connection in .NET SDK just like clicking the List of Tables in below screenshot from New Query Layer dialog box in ArcGIS pro 3.2?

sumalain1_0-1711024425608.png

 

0 Kudos
1 Solution

Accepted Solutions
SumitMishra_016
Frequent Contributor

Hi @GKmieliauskas ,

The ArcGIS Pro SDK community sample DatastoresDefinitionsAndDatasets didn't worked because of BUG-000168683 

View solution in original post

3 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

Look at the ArcGIS Pro SDK community sample DatastoresDefinitionsAndDatasets

0 Kudos
SumitMishra_016
Frequent Contributor

Hi @GKmieliauskas,

I looked at the ArcGIS Pro SDK community sample DatastoresDefinitionsAndDatasets

I am using Enterprise geodatabase. The code to get the definitions of feature classes is as follows:-

definitions = geodatabase.GetDefinitions<FeatureClassDefinition>().Select(CreateDataSetInfo).ToList();

But the definitions in the above code includes feature classes which don't have access to user. How can I get only definitions that are accessible to the user? And the user need not to be the owner.

0 Kudos
SumitMishra_016
Frequent Contributor

Hi @GKmieliauskas ,

The ArcGIS Pro SDK community sample DatastoresDefinitionsAndDatasets didn't worked because of BUG-000168683