<?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 Web App URL parameters in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-app-url-parameters/m-p/239826#M6463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have produced a map in Web App builder that I would like to create a URL for that opens the map in a specified place with one or several layers visible. I have read the information here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm" title="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm"&gt;Use URL parameters—Web AppBuilder for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;assume that it is the 'query=' parameter that I need to use. All of the layers in the map are in groups, meaning that I need to use&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;&amp;lt;layer id_sublayer id&amp;gt;. Is it possible to add one more level to this? for example &lt;SPAN&gt;&amp;lt;layer id_sublayer id_&lt;SPAN style="background-color: #fefefe;"&gt;sublayer id&lt;/SPAN&gt;&amp;gt;.&amp;nbsp;&lt;/SPAN&gt;All of the layers have been added to the map as ArcGIS Server web services. When I add the encoded query to the url the map loads as it would without the query (the query parameter has no effect). At the moment I am trying to use layer names rather than IDs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;Adding a query to the URL works on&amp;nbsp;another Web App where the layers have been uploaded&amp;nbsp;to ArcGIS Online from shape files and are not grouped.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;My questions: Is query the correct parameter to use or is there a better method? Does Query work with web services? Does query work with&amp;nbsp;layers that are&amp;nbsp;grouped in a subgroup within a subgroup?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2016 07:36:27 GMT</pubDate>
    <dc:creator>Ystad1</dc:creator>
    <dc:date>2016-11-28T07:36:27Z</dc:date>
    <item>
      <title>Web App URL parameters</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-app-url-parameters/m-p/239826#M6463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have produced a map in Web App builder that I would like to create a URL for that opens the map in a specified place with one or several layers visible. I have read the information here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm" title="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm"&gt;Use URL parameters—Web AppBuilder for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;assume that it is the 'query=' parameter that I need to use. All of the layers in the map are in groups, meaning that I need to use&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;&amp;lt;layer id_sublayer id&amp;gt;. Is it possible to add one more level to this? for example &lt;SPAN&gt;&amp;lt;layer id_sublayer id_&lt;SPAN style="background-color: #fefefe;"&gt;sublayer id&lt;/SPAN&gt;&amp;gt;.&amp;nbsp;&lt;/SPAN&gt;All of the layers have been added to the map as ArcGIS Server web services. When I add the encoded query to the url the map loads as it would without the query (the query parameter has no effect). At the moment I am trying to use layer names rather than IDs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;Adding a query to the URL works on&amp;nbsp;another Web App where the layers have been uploaded&amp;nbsp;to ArcGIS Online from shape files and are not grouped.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;My questions: Is query the correct parameter to use or is there a better method? Does Query work with web services? Does query work with&amp;nbsp;layers that are&amp;nbsp;grouped in a subgroup within a subgroup?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 07:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-app-url-parameters/m-p/239826#M6463</guid>
      <dc:creator>Ystad1</dc:creator>
      <dc:date>2016-11-28T07:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Web App URL parameters</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-app-url-parameters/m-p/239827#M6464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you have any luck with this? I am having the same issue with a grouped layers. &amp;nbsp;I've tried the layerID_folderID_ServiceID and did not have any luck.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 00:23:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-app-url-parameters/m-p/239827#M6464</guid>
      <dc:creator>JamesFarmer</dc:creator>
      <dc:date>2017-03-22T00:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Web App URL parameters</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-app-url-parameters/m-p/239828#M6465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;URL Query by adding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;index.html?query=[LayerName],[FIELD],[VALUE]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layerName = is the name given within the web map that is consumed by the web application&lt;/P&gt;&lt;P&gt;Field = field name provided by the web map (not alias)&lt;/P&gt;&lt;P&gt;Value = value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not want to pass 'groups' or sub groups. pass the layer value.&lt;/P&gt;&lt;P&gt;Also, make sure you are using WABde 2.3 as there is a bug in 2.0 and 2.2 where as the Zoom, pan, highlight and popup works for the url Query, but the popup window content is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 21:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-app-url-parameters/m-p/239828#M6465</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2017-03-22T21:55:15Z</dc:date>
    </item>
  </channel>
</rss>

