I am trying to write a script (python) to open an external exe file on the server once I click on a feature in ArcGIS. The script must have 2 parameters in namely
UserID. The exe file will take the parameters and write it to an SQL table where another function triggers from.
This is the python script I have thus far... (Please forgive, me I have not clue what I am doing):
import webbrowser def OpenLink ( [FacilityId] ): path = "W://QGIS//PREMISQGIS.exe" webbrowser.open(path) return
The above script at least opens the exe and asks if I want to run it - as soon as I do, it says it doesn't have parameters?