I work with our local police department to update the Sex Offender web map on a (fairly) monthly basis.
What happens is as follows:
- The Officer responsible for maintaining this data updates the Shapefile of Offenders
- They save it to a specified folder and open a service ticket requesting the map be updated
- The service ticket arrives in my e-mail
- I double click the MODEL I built in Model Builder
- The Model asks for the location and name of the updated Shapefile
- I copy-n-paste the URL from my Ticket to the Model
- It truncates the current Offender SDE database table
- It appends the new Shapefile to the SDE database table
- I close the ticket and am done
What I would LIKE to do and just don't know where to start with this is... take my model and convert it to a Python script. Then SOMEHOW (and this is where my question comes in) offer a web-front / web-form where the officer INSTEAD of opening a Service Ticket, just opens a web page... pastes the URL to the updated Shapefile (or uploads the Shapefile?)... and hits DONE and it runs my script using that URL to the Shapefile (or the uploaded Shapefile) and updates the database.
Once the database is updated the updates propagate smoothly to the web map.
Has anyone done anything like this already? Convert a Model to a Web Form?