Webmap Custom URL

176
0
02-27-2019 01:37 AM
AdrianNorton
New Contributor

Hi all, I am new to the forums/gis world and slowly picking up guidance from Geonet. I am hoping I have posted in the correct group.
I would like to hard code an URL to allow another company intranet site to open a current webmap and zoom to a specific feature based on a known attribute.
https://<OURCOMPANYPORTAL>/index.html?&query=<LAYER_ID>,<FIELD>,<ATTRIBUTE>
But I am strugging with the layer/id part of the code.
There are 14 layers (mapservers).

Service_A
 Service_A_layerid=0
Service_B
 Service_B_layerid=0
 Service_B_layerid=1
Service_C
 Service_C_layerid=0
 Service_C_layerid=1
 Service_C_layerid=2
ETC

But I'm unsure of the code for setting the query part, for example to point to service C layer 2 that has the field and attribute in question. I know I need to use ID=2 but how do I specify Service_C

Do I need to use the ID of the service in the code?
Do I also need to alter the webmap application settings, Find Locations, By Layer, and set to the LAYER, FIELD?
Any guidance would be really appreciated.

0 Kudos
0 Replies