Register view as a layer to use in GeoProcessing tool

341
3
Jump to solution
04-03-2014 05:50 AM
MichaelBlom
New Contributor III
Hi there,

In the past, there was the command line tool "sdelayer -o register" and I could register a view as a layer.

From what I read in this blog posting http://blogs.esri.com/esri/supportcenter/2013/10/04/do-this-not-that-alternatives-to-using-sde-comma..., instead of using "sdelayer -o register ...."
If needing to take advantage of geodatabase functionality, you can register the feature classes/tables with the geodatabase, which will also registers them with the ArcSDE system tables during the process.

So I used this register with Geodatabase tool, and apparently "views are not supported".

Help please me with registering my view as a layer if you can.

Thanks

Mike
0 Kudos
1 Solution

Accepted Solutions
VinceAngelo
Esri Esteemed Contributor
Views cannot have SDE-set rowid columns, and are therefore not eligible for
geodatabase registration.  They are supported as simple feature classes if
the geometry column is registered with ArcSDE via 'sdelayer -o register'.

- V

View solution in original post

0 Kudos
3 Replies
MichaelBlom
New Contributor III
If I right click on the view, I can see there is an option to Manage-> Register with Geodatabase, but this is greyed out

Is this because views are not supported?
0 Kudos
VinceAngelo
Esri Esteemed Contributor
Views cannot have SDE-set rowid columns, and are therefore not eligible for
geodatabase registration.  They are supported as simple feature classes if
the geometry column is registered with ArcSDE via 'sdelayer -o register'.

- V
0 Kudos
MichaelBlom
New Contributor III
...which I exactly what I ended up doing... breaking out the old command line tools.
0 Kudos