Select to view content in your preferred language

Editing joined featureclass via REST API

860
2
07-30-2010 04:57 AM
DaveRabrun
Deactivated User
I have 2 feature classes in an MXD. I make the MXD into a featureservice/mapservice. I can query either feature class and edit either featureclass via the rest api.

Now I join one of the feature classes to the other. When I attempt to edit the original feature class, the only value available in the fields page is the objectid, hence all of the attributes i try to pass in through the rest api are ignored.

Is this a bug?

Data Example :

Blocks - ID, Name
Hydrant - ID, BlockID, Name

I Join Hydrant to Blocks so now when i query Hydrant the following fields are available:
Hydrant.ID, Hyrdrant.blockid, Hydrant.Name, Block.ID, Block.Name
This is available in the mapservice.
However in the featuresevice, only objectid is shown as a field.
0 Kudos
2 Replies
RaviNarayanan
Esri Contributor
Dave,
Joined tables are not supported in a Feature Service. The behavior you see for the FeatureService is as expected.

Thanks
Ravi
0 Kudos
LuísCardoso
Deactivated User
Dave,
Joined tables are not supported in a Feature Service. The behavior you see for the FeatureService is as expected.

Thanks
Ravi


Why this happens?
Is there a workaround to edit feature classes with joined tables using the Rest API?

Thank
Luís (Aveiro, Portugal)
0 Kudos