I have a Model that I run once a month, per a request from our Police department, that queries and dumps a shapefile to a specific folder.
Currently, the officer calls in a ServiceTicket, tells me what month, and I run the model and close the ticket.
What I would like to do is start to Automate this process.
I have the Python script (exported from the Model) in a web folder. I have converted the folder to an Application (with an Application pool).
I have an HTML form I threw together...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Crime Export Form</title> </head> <body> <form action="CrimeExports.py" method="POST"> <input type="text" name="Start_Month" value="January"/> <input type="text" name="Start_Year" value="2014" /> <input type="text" name="End_Month" value="February" /> <input type="text" name="End_Year" value="2014" /> <input type="text" name="Folder_to_store_export" value="\\path\to\where\I\want\to\save" /> <input type="submit" /> </form> </body> </html>
It does absolutely nothing.