This webmap has an operational layer that points to a csv file on a web server:
Hey Aaron,
I dont see anywhere in the code where it is republishing the service....
didnt you say that it did that?
Hi Nolan,
the script does not need to republish the webservice. All the script has to do is update the shapefile, the refresh in the Flexviewer is what is refreshing the content on the end users screen so they are looking at the most recent content
Aaron
In my experience, when i "publish a webservice that hits the shapefile," all of that data behind the shapefile (in the dbf) is cached.
In other words, if I publish a shapefile as a service and consume that with my flex viewer, the data behind the shapefile is merely stored with i share/publish. So if I go into arcmap and update that shapefile and save it, nothing changes to the actual rest service im pulling into the viewer. The service isnt automatically updated. I need to share (republish) that shapefile to overwrite the current service.
You must know how to do something i do not...