We've used Replace Tokens in the past, where you can set config variables (e.g. {#arcgis#} to beswapped with any of the environments above depending on which pipeline is used. However, this has problems when working locally... RAMP configs will fail when they try to load a service called {#arcgis#}/rest/services/0000000/MapServer/1.
This is an active issue for CESI and CAM (both .NET solutions) as well, so it'd be great if the solution could work for those too.
Figure out a process to swap out environment variables (ArcGIS endpoints are probably the only one) at deployment time:
We've used Replace Tokens in the past, where you can set config variables (e.g.
{#arcgis#}
to beswapped with any of the environments above depending on which pipeline is used. However, this has problems when working locally... RAMP configs will fail when they try to load a service called{#arcgis#}/rest/services/0000000/MapServer/1
.This is an active issue for CESI and CAM (both .NET solutions) as well, so it'd be great if the solution could work for those too.