<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pass Parameters to Web App via URL in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/pass-parameters-to-web-app-via-url/m-p/1234570#M49011</link>
    <description>&lt;P&gt;This might help you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote this up for one AGOL Web App designers a few years ago.&lt;/P&gt;&lt;P&gt;It is possible to create a single web app in AGOL or Portal and use the URL Parameters to control the center point, extent, zoom level of the map by the URL parameters.&amp;nbsp; You can also control many other parameters for embedded maps such as map navigation and visibility of mapping elements.&amp;nbsp; This quite useful when embedding a web maps / web apps in a webpage page or you want to provide different https links to GIS User base on their location.&lt;/P&gt;&lt;P&gt;The best ESRI documentation page I know is for embed Web Map and URL Parameters is&amp;nbsp; &lt;A href="https://doc.arcgis.com/en/arcgis-online/reference/embed-map-parameters.htm" target="_blank"&gt;https://doc.arcgis.com/en/arcgis-online/reference/embed-map-parameters.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Currently only available in Web Map Classic&lt;/P&gt;&lt;P&gt;This ESRI web page talks about Web Map but I have also used it on Web App (web app builder).&lt;/P&gt;&lt;P&gt;My Favorite two URL parameters are&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;center—Centers the map using geographic coordinates (x,y).&lt;/LI&gt;&lt;LI&gt;level—The level ID of the cached scale as listed in the REST endpoint of the basemap. This determines the default zoom level when the map loads, for example,&amp;nbsp;level=9.&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;example of a ESRI basemap where you can see the list of levels at the REST endpoint&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&amp;amp;center=-112.074,33.433&amp;amp;level=10&lt;/P&gt;&lt;P&gt;There is also extend URL parameter by using the four corners, example (&amp;amp;extent=-86.179,39.923,-85.932,40.075). But I think using the basemap levels is easier.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;extent—Specifies the extent to be used when the map loads. This overrides the map’s default extent. Only geographic coordinate system values are valid.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 23 Nov 2022 17:02:14 GMT</pubDate>
    <dc:creator>Stacey_Crowe</dc:creator>
    <dc:date>2022-11-23T17:02:14Z</dc:date>
    <item>
      <title>Pass Parameters to Web App via URL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/pass-parameters-to-web-app-via-url/m-p/1234421#M49005</link>
      <description>&lt;P&gt;I'm trying to speed up my own process of using this tool by the USGS to locate topo quads for work. In the process, I'd like to pass a location to the app via the url. I understand the syntax of&amp;nbsp;&lt;EM&gt;baseurl&lt;/EM&gt;&lt;STRONG&gt;?parameter=value&lt;/STRONG&gt;, but I can not for the life of me find out what parameter to enter in. I've tried "geocoder" and variations to no avail.&lt;/P&gt;&lt;P&gt;App link:&amp;nbsp;&lt;A href="https://livingatlas.arcgis.com/topoexplorer/" target="_self" rel="nofollow noopener noreferrer"&gt;https://livingatlas.arcgis.com/topoexplorer/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 07:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/pass-parameters-to-web-app-via-url/m-p/1234421#M49005</guid>
      <dc:creator>ItsRoundWeChecked</dc:creator>
      <dc:date>2022-11-23T07:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Parameters to Web App via URL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/pass-parameters-to-web-app-via-url/m-p/1234570#M49011</link>
      <description>&lt;P&gt;This might help you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote this up for one AGOL Web App designers a few years ago.&lt;/P&gt;&lt;P&gt;It is possible to create a single web app in AGOL or Portal and use the URL Parameters to control the center point, extent, zoom level of the map by the URL parameters.&amp;nbsp; You can also control many other parameters for embedded maps such as map navigation and visibility of mapping elements.&amp;nbsp; This quite useful when embedding a web maps / web apps in a webpage page or you want to provide different https links to GIS User base on their location.&lt;/P&gt;&lt;P&gt;The best ESRI documentation page I know is for embed Web Map and URL Parameters is&amp;nbsp; &lt;A href="https://doc.arcgis.com/en/arcgis-online/reference/embed-map-parameters.htm" target="_blank"&gt;https://doc.arcgis.com/en/arcgis-online/reference/embed-map-parameters.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Currently only available in Web Map Classic&lt;/P&gt;&lt;P&gt;This ESRI web page talks about Web Map but I have also used it on Web App (web app builder).&lt;/P&gt;&lt;P&gt;My Favorite two URL parameters are&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;center—Centers the map using geographic coordinates (x,y).&lt;/LI&gt;&lt;LI&gt;level—The level ID of the cached scale as listed in the REST endpoint of the basemap. This determines the default zoom level when the map loads, for example,&amp;nbsp;level=9.&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;example of a ESRI basemap where you can see the list of levels at the REST endpoint&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&amp;amp;center=-112.074,33.433&amp;amp;level=10&lt;/P&gt;&lt;P&gt;There is also extend URL parameter by using the four corners, example (&amp;amp;extent=-86.179,39.923,-85.932,40.075). But I think using the basemap levels is easier.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;extent—Specifies the extent to be used when the map loads. This overrides the map’s default extent. Only geographic coordinate system values are valid.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 23 Nov 2022 17:02:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/pass-parameters-to-web-app-via-url/m-p/1234570#M49011</guid>
      <dc:creator>Stacey_Crowe</dc:creator>
      <dc:date>2022-11-23T17:02:14Z</dc:date>
    </item>
  </channel>
</rss>

