Select to view content in your preferred language

Access shapefile in subdirectory of a dynamic workspace

3470
5
Jump to solution
10-24-2012 12:30 AM
by Anonymous User
Not applicable
Original User: vdkamp

Is it possible to access a shapefile in a subdirectory of a dynamic workspace? Setting TableDataSource.dataSourceName to "my_path/my_shape.shp" doesn't seem to work.
0 Kudos
1 Solution

Accepted Solutions
DasaPaddock
Esri Regular Contributor
Accessing sub folders from dynamic workspaces is not supported.

View solution in original post

0 Kudos
5 Replies
DasaPaddock
Esri Regular Contributor
Accessing sub folders from dynamic workspaces is not supported.
0 Kudos
by Anonymous User
Not applicable
Original User: vdkamp

Is there a fundamental reason why it's not supported? It seems easy to implement and it will increase the usability of TableDataSource a lot.
0 Kudos
DasaPaddock
Esri Regular Contributor
We shall consider it for a future release.
0 Kudos
by Anonymous User
Not applicable
Original User: vdkamp

OK. Any idea on when this might be implemented on the earliest?

Do you know of a way to generate a dynamic workspace for a map service on the fly?
0 Kudos
TanuHoque
Esri Regular Contributor
Albert,
It is recommended that an author makes a conscious decision about which individual folder, GeoDatabase etc. get registered as a dynamic workspace to a map service, rather than registering a parent folder and exposing all of its child folders wide open to the end clients by accident.

OK. Any idea on when this might be implemented on the earliest?

We will consider what you suggested, but we can't promise anything right now about the time frame or whether it will happen. Please design and implement your workflow by taking this restriction into account.

Do you know of a way to generate a dynamic workspace for a map service on the fly?

you can always modify a service's properties to add new dynamic workspaces using ArcGIS Desktop or Manager, which requires a restart though, as you may already know.

Thanks. We appreciate your suggestions very much.
Tanu
0 Kudos