Hi,
been looking at this problem today and have found that if you want to publish the archive class you can create a view to the class in the database connection eg SELECT * FROM name_H
when adding to ArcMap you need to use the archive OID as the unique identifier. This will then publish To arcgis server.
Hope this helps
Dave
Hi Alex,
Were you able to get this resolved?
Is the user showing as blank? Try making some edits to the feature class and see if the user becomes populated. Also, be sure you are showing the 'last_edited_user' field and not the 'created_user' field.
You will want to enable editor tracking, and then enable archiving. Once archiving is enabled, add the archive class to ArcMap following the steps in this link:http://resources.arcgis.com/en/help/main/10.2/index.html#//003n000000rr000000The archive class will store all of the edit history. You will want to publish this as a service, and then access this service in your application.
Archiving maintains the history of the geometry and all the fields. Since editor tracking just records information in fields, the history is maintained as well. Take a look at the screen shots below. You can see the 'Last Edited User' and 'Last Edited Date' fields are different values. This will show what was edited, who edited the feature, and when the feature was edited.[ATTACH=CONFIG]34848[/ATTACH][ATTACH=CONFIG]34849[/ATTACH]
If you are working with an enterprise geodatabase you can accomplish this through archiving. You can publish the Historical Archive feature class as a service. You will then have access to all of the edit history when you query (i.e. identify) the layer in your application.
I think getEditSummary() only returns the very last operation performed.https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#geteditsummaryJust to be clear: you are seeking a method to expose the full history of edits?
The original screenshot you sent is small, so it's tough to see what's going on. It looks like edits are being made, and then they are labeled with the editor. Is that correct? Is this what you are looking to accomplish?
Hi Alex,You can enable editor tracking:http://resources.arcgis.com/en/help/main/10.2/index.html#//01540000048s000000You can also enable this with hosted feature services:[ATTACH=CONFIG]34777[/ATTACH]http://doc.arcgis.com/en/arcgis-online/share-maps/manage-services.htm
getEditSummary(feature,options?)
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.