{"action":"opened","issue":{"url":"https://api.github.com/repos/tmcgee/cmv-widgets/issues/47","labels_url":"https://api.github.com/repos/tmcgee/cmv-widgets/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/tmcgee/cmv-widgets/issues/47/comments","events_url":"https://api.github.com/repos/tmcgee/cmv-widgets/issues/47/events","html_url":"https://github.com/tmcgee/cmv-widgets/issues/47","id":116333873,"number":47,"title":"get Coordinates  Automatically while editing?","user":{"login":"pnh10","id":11715585,"avatar_url":"https://avatars.githubusercontent.com/u/11715585?v=3","gravatar_id":"","url":"https://api.github.com/users/pnh10","html_url":"https://github.com/pnh10","followers_url":"https://api.github.com/users/pnh10/followers","following_url":"https://api.github.com/users/pnh10/following{/other_user}","gists_url":"https://api.github.com/users/pnh10/gists{/gist_id}","starred_url":"https://api.github.com/users/pnh10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnh10/subscriptions","organizations_url":"https://api.github.com/users/pnh10/orgs","repos_url":"https://api.github.com/users/pnh10/repos","events_url":"https://api.github.com/users/pnh10/events{/privacy}","received_events_url":"https://api.github.com/users/pnh10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T13:13:32Z","updated_at":"2015-11-11T13:13:32Z","closed_at":null,"body":" Editing, moving, and deleting the points all show up back in my feature service MXD, so that's great. What I want to know how to do is have the API automatically write the X,Y/Lat/Long/coordinates of a point to the attribute table of my feature service. So for example when the Editor template is used to add a new point to the web map, have the script write the location of the point to the table. If the point is moved, update the table to reflect that new location. I've played with the map.on(\"mouse-move\", showCoordinatesFunction) so that I can see the current position of my mouse cursor, but I need help getting that written to the table. "}}