Select to view content in your preferred language

How to immediatly display new data through service?

480
2
03-19-2014 12:39 AM
AnatoliiTerentiev
Deactivated User
Dear Gurus!
I have published layer with emergency situations based on the SQL-server X,Y-table. Operators can add records to a table using the table manager directly into sql-server. When an operator adds a new record to the table it  should immediately be displayed on the map through service . How I can do it?
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
There is no builtin functionality to do that in the API.
You can consider the following possible options (by ascendant order of complexity):
     - refresh your layer based on a timer
     - publish a service providing the latest modification date and use it (based on a timer) to know if you have to refresh the layer or not
     - create your own web service that alerts you when a modification has been done
0 Kudos
AnatoliiTerentiev
Deactivated User
Clearly, a comprehensive answer!
0 Kudos