Select to view content in your preferred language

Control zoom in WAB

574
7
Jump to solution
11-07-2018 08:39 AM
joerodmey
MVP Alum

Is there a way to pass into a zoom level or position into an WAB app via the app URL? Similar to what you can do in Survey123 and Collector.

Also, is there a way to open a particular web map in the WAB app via URL?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Joe,

  Sure all the url parameters available are cover here:

Use URL parameters—Web AppBuilder for ArcGIS | ArcGIS 

View solution in original post

0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus

Joe,

  Sure all the url parameters available are cover here:

Use URL parameters—Web AppBuilder for ArcGIS | ArcGIS 

0 Kudos
joerodmey
MVP Alum

But my app is stored on my own web server

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

That does not change a thing.

0 Kudos
joerodmey
MVP Alum

So if my domain is this: www.example.com and my app is stored at directory /app... i can build my link like this: www.example.com/app&query=census_8491, OBJECTID,1

Is that correct?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Correct

0 Kudos
joerodmey
MVP Alum

It worked. Had to use ? instead of &

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Joe,

  Ah, missed that you had & instead of ?. If you don't know the difference and reasoning for those in the url the ? is always used before the first url parameter and the & is used for the second and greater url parameters.

0 Kudos