Hello,
I would like to know if there is a way to access the archive class in a Map Service on ArcGIS Server.
I have a Map Service with feature class stored in a SDE GeoDatabase with Archiving and Versionning enabled.
My questions are:
- When features are added/updated/removed on a feature class with Archiving using the Feature Access capability of ArcGIS Server, does the Archive Class is updated?
- Is it possible to query the Archive Class in order to retrieve features at a perticular moment using the Feature Access or Mapping capabilities through the REST API?
- When I try to publish a Map Service containing an Archive Class to ArcGIS Server I have an error saying:
Layer's data source is not registered with the geodatabase (Feature Service)
. Does it means it's not possible to publish an Archive Class?
1. Enabling Archiving is a database action, nothing to do with ArcGIS Server. When the feature is edited, the triggers put in place for Archiving to work take over, regardless if the edit came from ArcGIS Server or ArcDesktop.
2. Enable Time aware when creating ArcGIS Server Services
3. I dont quite understand why one would publish the archived tables directly. You dont add the archived tables directly in arcmap, you work with the archived items through the featureclass in which the archived was enabled.