I have a box with multiple domains pointing to it and would like to load settings based on the domain from within the ArcPy GP service.
Do I have access to the http request from within ArcPy? Is it possible to get the domain from which the GP service is being requested on? Is there a better way to accomplish this task?
Instead of parsing the URL inside of the GP script I sent a key, from the client, as an input parameter that is used to lookup the associated configuration.
Instead of parsing the URL inside of the GP script I sent a key, from the client, as an input parameter that is used to lookup the associated configuration.