<?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: How to use url parameters in Query widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350249#M9306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Franklin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Everything is pretty well covered in the help page.&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_ED1AF7A40ABD4F0F8F6456F51850A1E7" title="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_ED1AF7A40ABD4F0F8F6456F51850A1E7"&gt;Use URL parameters—Web AppBuilder for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Layre ID:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;Since the layer name can be changed, it is strongly recommended that you use the layer ID in the query. Y&lt;STRONG&gt;ou can retrieve the layer ID from the web map ID&lt;/STRONG&gt;, as shown here:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="font-size: 17px;"&gt;http://&amp;lt;your portal url&amp;gt;/sharing/rest/content/items/32a83775654249dcae6b8f2eff5d4072/data/?f=pjson&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2019 20:06:52 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-12-03T20:06:52Z</dc:date>
    <item>
      <title>How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350248#M9305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I am trying to use URL parameters to execute a search with the Query widget, but am having trouble getting the widget to see the url correctly. when I try and use the built in 'query' parameter, no matter what id I use I get an 'invalid id' message in the console. I am very unclear as to what id it is asking for since the layer id I am trying to query on isn't some long integer, at least not that I can find. The layer id in the config file is the 'name' of the layer, which doesn't work, and if I try using the id from the REST service json page for the layer, that doesn't work either. Do I have to generate the id somehow?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;This url throws invalid id error&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="line-numbers language-markup"&gt;&lt;CODE&gt;https://ocean.floridamarine.org/InDevelopment/GA_WebProjects/WMA_Entrances/WMA_EntranceFinderWAB2.13_sandbox1/?query=WMA%20Entrances%20Florida,NAME_ENT,Andrews%20WMA&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This url seems to work, no error.&lt;/P&gt;&lt;PRE class="line-numbers language-markup"&gt;&lt;CODE&gt;https://ocean.floridamarine.org/InDevelopment/GA_WebProjects/WMA_Entrances/WMA_EntranceFinderWAB2.13_sandbox1/?WMA%20Entrances%20Florida,NAME_ENT,Andrews%20WMA&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Aside from the id question, is there an advantage to using the 'query' parameter? Are there any limitations in not using it? I am still able to extract the parameters in the widget.js file using both jimuUtils.urlToObject() method and getUrlParams() method.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I have already looked at the esri docs, but am still confused!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_ED1AF7A40ABD4F0F8F6456F51850A1E7" title="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_ED1AF7A40ABD4F0F8F6456F51850A1E7"&gt;&lt;SPAN style="color: #2989c5; text-decoration: none; text-underline: none;"&gt;Use URL parameters—Web AppBuilder for ArcGIS | Documentation&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://communityhub.esriuk.com/technicalsupport/2016/10/31/url-parameters-in-web-app-builder" title="https://communityhub.esriuk.com/technicalsupport/2016/10/31/url-parameters-in-web-app-builder"&gt;&lt;SPAN style="color: #2989c5; text-decoration: none; text-underline: none;"&gt;URL query parameters in Web AppBuilder — CommunityHub&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Thanks for any clarifications&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 19:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350248#M9305</guid>
      <dc:creator>FranklinAlexander</dc:creator>
      <dc:date>2019-12-03T19:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350249#M9306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Franklin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Everything is pretty well covered in the help page.&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_ED1AF7A40ABD4F0F8F6456F51850A1E7" title="https://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_ED1AF7A40ABD4F0F8F6456F51850A1E7"&gt;Use URL parameters—Web AppBuilder for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Layre ID:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;Since the layer name can be changed, it is strongly recommended that you use the layer ID in the query. Y&lt;STRONG&gt;ou can retrieve the layer ID from the web map ID&lt;/STRONG&gt;, as shown here:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="font-size: 17px;"&gt;http://&amp;lt;your portal url&amp;gt;/sharing/rest/content/items/32a83775654249dcae6b8f2eff5d4072/data/?f=pjson&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 20:06:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350249#M9306</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-03T20:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350250#M9307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did try to do that Robert, but all I get is the&amp;nbsp; World Topo basemap. I took the portalUrl and the itemId from the config.json file, substituted it into the url and it shows the basemap, but no operational layers. I should be seeing two of them. I assumed that this is because the layers are loaded separately from the basemap, so I don't really have a web map like you would if you created a WAB online app. Still don't know what I am missing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 20:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350250#M9307</guid>
      <dc:creator>FranklinAlexander</dc:creator>
      <dc:date>2019-12-03T20:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350251#M9308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Franklin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So if you webmap only contains a basemap then how are the two operational layers added to your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 20:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350251#M9308</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-03T20:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350252#M9309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two rest service feature layers added to the map using the Local Layer widget.&lt;/P&gt;&lt;P&gt;1. Wildlife Management Area Entrances Florida&amp;nbsp; (this is the one I want to query)&lt;/P&gt;&lt;P&gt;2. Wildlife Management Areas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both show up in the map and I am able to query the 1st one just fine using the query widget. I need to be able to run the query from the url as well. for instance if someone accesses the app from a particular WMA page, it will query that WMA and zoom to it on the map.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 20:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350252#M9309</guid>
      <dc:creator>FranklinAlexander</dc:creator>
      <dc:date>2019-12-03T20:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350253#M9310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Querying layers loaded by the local layer widget are not supported for URL queries. The &lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-1731-enhanced-search-widget-version-213-092519"&gt;eSearch&lt;/A&gt; allows for searching layers that are not part of the web map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 20:40:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350253#M9310</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-03T20:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350254#M9311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am able to query the WMA Entrance layer, can't I just pull the parameters from the html and plug them in? I can get them using getUrlParams() function as long as I don't use the 'query' parameter. Theoretically, I should be able to plug them in to the query filter and run the query. I know using the eSearch would be a lot easier, but I need to be able to filter each subsequent dropdown menu by the previous&amp;nbsp;expression and I can't find a way to do that with the eSearch widget. That's kind of important since there are over 100 WMAs.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 20:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350254#M9311</guid>
      <dc:creator>FranklinAlexander</dc:creator>
      <dc:date>2019-12-03T20:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350255#M9312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can if you do the coding yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 21:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350255#M9312</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-03T21:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use url parameters in Query widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350256#M9313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the clarification. At least I have a direction!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 21:25:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-use-url-parameters-in-query-widget/m-p/350256#M9313</guid>
      <dc:creator>FranklinAlexander</dc:creator>
      <dc:date>2019-12-03T21:25:55Z</dc:date>
    </item>
  </channel>
</rss>

