Is This Content Helpful?
We're glad to know this article was helpful.
What parameters can be passed to an HTML Viewer's URL?
The ArcIMS HTML Viewer's URL can accept the following argument/value pairs to override initial display values:
· Host = Hostmachine
Name of Host, if not default.
· Service = MapService
Replaces the MapService defined in the site's ArcIMSparam.js file.
· OVMap = OVMapService
Replaces the Overview MapService defined in the site's ArcIMSparam.js file.
· Box = MinX:MinY:MaxX:MaxY
The initial extent.
· Layers = 0101101
Visible layers, starting from topmost where 0 is not visible and 1 is visible.
· ActiveLayer = layerIndex
Index of layer to be active, if not default.
This is not the same as the layer ID in the map service. The index value corresponds with the order of layers as they appear in the viewer's Table of Contents, assuming all layers were listed. The top layer has index value zero.
When building a query expression, it may be necessary to replace reserved characters with escape sequences. In the example above, the following reserved characters are replaced with the following escape character sequences:
[space] ... %20
= ... %3D
" ... %22
' ... %27
ArcMap Server accepts queried string values enclosed in apostrophes only.