Select to view content in your preferred language

Access SDE feature class without publishing

257
0
11-15-2024 10:20 AM
GLIMichael
Emerging Contributor

Is it possible to access feature classes in side enterprise SDE directly without having to publish the feature class to portal?

In a desktop environment, we can directly access a SDE feature class using the syntax below:

 

sample_fc = 'z:\some_path\sample_sde.sde\schema.feature_class'

 

But this won't work on the notebook server. As the notebook server doesn't recognize such path.

As per this post, it seems like the only work around is to publish the services to the portal then access the published item.

I'm aware that we can use published feature class, but is it possible to recycle the syntax mentioned above inside the notebook server environment? We have advanced runtime for notebook server, and we are using arcpy within the notebook server environment.

0 Kudos
0 Replies