<?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: Tweaks to Query Widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177614#M4953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert, I will reach out to them. I think the version that ships with portal is a version behind the AGOL version.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 May 2017 20:20:58 GMT</pubDate>
    <dc:creator>MikeRiccio</dc:creator>
    <dc:date>2017-05-10T20:20:58Z</dc:date>
    <item>
      <title>Tweaks to Query Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177610#M4949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm trying to tweak the default query widget in the Dev version of the webappbuilder. I'm trying to accomplish two tweaks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Disable the export to GeoJSON and Feature Collection options&amp;nbsp;but I'd still like the ability to export to CSV.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Make searching within a spatial extent an optional part of the query. Ironically, on the portal version of WebApp Builder, the query widget&amp;nbsp;allows you to leave the spatial extent unused and still allows the query to be executed. However on the Dev version, the query cannot be executed unless a shape is drawn on the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing these are just config options somewhere in the query widget js files, I'm just not sure where to look / haven't realized I've been staring at them all along. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 21:40:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177610#M4949</guid>
      <dc:creator>MikeRiccio</dc:creator>
      <dc:date>2017-05-08T21:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tweaks to Query Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177611#M4950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;There is no configuration option to remove these but you can do it in the code. In the Query widgets SingleQueryResult.js&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;actions &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; array&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;filter&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;actions&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; lang&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;hitch&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;action&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; action&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="operator token"&gt;!==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'CreateLayer'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; action&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="operator token"&gt;!==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'ExportToGeoJSON'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; action&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="operator token"&gt;!==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'ExportToFeatureCollection'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;It sounds like you have "&lt;SPAN style="color: #353535; background-color: #ffffff;"&gt;Only return features that intersect with the shape drawn on the map" checked.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:07:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177611#M4950</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T09:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Tweaks to Query Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177612#M4951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I was able to find and edit that bit of code in SingleQueryResult.js, but I found that I also needed to remove the "Export to GeoJSON" and "Export to Feature Collection" options from the jimu.js\featureActions\main.js file as well in the definition&amp;nbsp;and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Yes, I do have it checked. I would like the user to have the optional ability to custom define an area to search along with the drop-down options of the query. As I mentioned in my first post, in the version of web app builder that ships with the latest version of Portal for ArcGIS, I made an app using the same webmap and services and checked off the "Only return features that intersect with the shape drawn on the map" filter option. This Portal version was still able to execute the query if a shape was not drawn and only the drop down options were filled.&amp;nbsp;I would like to replicate that flexibility in the Dev Version. Maybe it was a bug in the Portal version that got corrected in the Dev version?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 21:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177612#M4951</guid>
      <dc:creator>MikeRiccio</dc:creator>
      <dc:date>2017-05-09T21:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tweaks to Query Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177613#M4952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Strange I did not have to do anything other then the changes I posted earlier.&lt;/P&gt;&lt;P&gt;2. I would contact tech support. Right now the AGOL version and WABdev version are suppose to be the same at v2.4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 14:56:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177613#M4952</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-05-10T14:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Tweaks to Query Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177614#M4953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert, I will reach out to them. I think the version that ships with portal is a version behind the AGOL version.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 20:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/tweaks-to-query-widget/m-p/177614#M4953</guid>
      <dc:creator>MikeRiccio</dc:creator>
      <dc:date>2017-05-10T20:20:58Z</dc:date>
    </item>
  </channel>
</rss>

