Select to view content in your preferred language

XY Event layer published as feature layer with no ObjectID

890
1
04-25-2012 08:35 AM
WashingtonKarvee
New Contributor
I am working with a feature layer web service that has no ObjectID but I want to show the features in an infoTemplate whenever the user clicks on any features from the underlying Feature Layer. But only one feature is active at a time. When I convert the event layer to a FC and publish it every single point feature is active and with a click the infotemplate pops up. I need the event layer since the requirement is to have a dynamic web service that is updated daily/hourly on one of our SQL servers. What other options do I have in this case? Any help with sample code will be highly appreciated.
0 Kudos
1 Reply
derekswingley1
Deactivated User
We've discussed this in the past:  http://forums.arcgis.com/threads/54284

One option is to add OIDs to your data on the client side and create your feature layer from a feature collection:  http://forums.arcgis.com/threads/54284-FeatureLayer-Without-ObjectId-Field?p=186381&viewfull=1#post1...
0 Kudos