<?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: Query Widget Result Item Contents in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489585#M12916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but despite redoing the query in the WAB Developer version and downloading an updated set of code, the config.json for the Query widget is still coming up with only:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "queries": []&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I'm assuming it doesn't matter, but I thought I'd throw it out there that the layers/data source I'm using are map services from our ArcGIS Server.&amp;nbsp; Could it be???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 18:00:33 GMT</pubDate>
    <dc:creator>MalcolmEchaluce</dc:creator>
    <dc:date>2015-06-01T18:00:33Z</dc:date>
    <item>
      <title>Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489559#M12890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the Query widget you can define which fields, alias, special type and order of&amp;nbsp; the results.&amp;nbsp; I have had no luck making these changes work or stick.&lt;/P&gt;&lt;P&gt;For example if you change the alias, special type or order of the result item contents and click ok.&amp;nbsp; None of the changes are saved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 17:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489559#M12890</guid>
      <dc:creator>TonyGroeneveld</dc:creator>
      <dc:date>2015-03-25T17:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489560#M12891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the exact same question!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:35:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489560#M12891</guid>
      <dc:creator>LeaDyrholm_Hansen</dc:creator>
      <dc:date>2015-03-30T13:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489561#M12892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tony and Lea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I can confirm that this is a bug and you need to call esri tech support and report this so that it can be fixed. Until that time you can manually update the config_Query.json file for your app and it will work fine, it just seems like the UI is not saving the changes to the json file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:51:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489561#M12892</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-03-30T13:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489562#M12893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert, I have reported the bug to our Support Center here in Denmark and they will pass it on to Esri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 14:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489562#M12893</guid>
      <dc:creator>LeaDyrholm_Hansen</dc:creator>
      <dc:date>2015-03-30T14:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489563#M12894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume the manually update of the json file only applies if you are hosting the web application yourself.&amp;nbsp; I'm running it in AGOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 15:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489563#M12894</guid>
      <dc:creator>TonyGroeneveld</dc:creator>
      <dc:date>2015-03-30T15:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489564#M12895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue. I have a field that is a link, so I assume if I change the special type to link in the results setting it would return as a link in the query results. Nope, it just comes up as a text string. And, when I go back in to check the setting it's not saved. ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489564#M12895</guid>
      <dc:creator>MaryAnnSteinmetz</dc:creator>
      <dc:date>2015-04-08T16:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489565#M12896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MaryAnn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Yep this is due to a bug in the widgets settings dialog. You will have to make a manual change in the json file if you are using WAB Developer version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:32:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489565#M12896</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-04-08T16:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489566#M12897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m using the AGOL version. Does this mean I would have to download the app and configure it myself manually? I may use another template if so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:37:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489566#M12897</guid>
      <dc:creator>MaryAnnSteinmetz</dc:creator>
      <dc:date>2015-04-08T16:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489567#M12898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are comfortable with editing json files, you can edit the AGOL json file using the ArcGIS Online Assistant (&lt;A href="https://ago-assistant.esri.com/" title="https://ago-assistant.esri.com/"&gt;ArcGIS Online Assistant&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select I want to... View an item's json&lt;/P&gt;&lt;P&gt;Then pick your Web Application.&lt;/P&gt;&lt;P&gt;Scroll down to the Data section and click on the pencil and make your changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489567#M12898</guid>
      <dc:creator>TonyGroeneveld</dc:creator>
      <dc:date>2015-04-08T16:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489568#M12899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is some code that you might find helpful.&amp;nbsp; Robert Scheitlin helped me with this section.&amp;nbsp; Alows me to sort the Query Results by a specific field.&amp;nbsp; I nested the If statements to capture all of the different queries.&amp;nbsp; This selects them based on the ID of the service.&amp;nbsp; Add the bold section of code to the existing section for _queryByObjectIds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_queryByObjectIds: function(objectIds, returnGeometry){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var queryParams = new EsriQuery();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.returnGeometry = !!returnGeometry;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.outSpatialReference = this.map.spatialReference;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.outFields = this._getOutputFields();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.objectIds = objectIds;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; var layerId = this._getLayerIndexByLayerUrl(this.currentAttrs.config.url);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 18){&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["NAME"];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var queryTask = new QueryTask(this.currentAttrs.config.url);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return queryTask.execute(queryParams);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 17:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489568#M12899</guid>
      <dc:creator>NicholasBarger</dc:creator>
      <dc:date>2015-04-08T17:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489569#M12900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicholas,&lt;/P&gt;&lt;P&gt;Thank you but Robert pointed me to the  ArcGIS Online Assistant where I was able to edit the JSON and save the change there.&lt;/P&gt;&lt;P&gt;It’s working now.&lt;/P&gt;&lt;P&gt;MaryAnn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 18:24:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489569#M12900</guid>
      <dc:creator>MaryAnnSteinmetz</dc:creator>
      <dc:date>2015-04-08T18:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489570#M12901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! That did it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 20:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489570#M12901</guid>
      <dc:creator>MaryAnnSteinmetz</dc:creator>
      <dc:date>2015-04-08T20:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489571#M12902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way these three bugs are now registered at Esri Support - so hopefully they'll soon be fixed &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUG-000086536 : Query Widget in the ArcGIS Online Web AppBuilder does not respect changes made to the Alias when configuring the Results Setting in the query&lt;/P&gt;&lt;P&gt;BUG-000085190: The contents of the Results Ordering tab in the query widget editor window resets to the default order, after closing and reopening the query editor in Web AppBuilder.&lt;/P&gt;&lt;P&gt;BUG-000085839: Query Widget in the ArcGIS Online Web AppBuilder does not maintain Special Type when configuring the Results Setting in the query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 07:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489571#M12902</guid>
      <dc:creator>LeaDyrholm_Hansen</dc:creator>
      <dc:date>2015-04-10T07:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489572#M12903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/58706"&gt;Lea Dyrholm Hansen&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;Thanks for sharing the BUG #s. It is nice to see this active response from ESRI to help out instead of feeling like our questions and comments get lost in the wind.&lt;/P&gt;&lt;P&gt;-Stan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 21:51:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489572#M12903</guid>
      <dc:creator>StanMcShinsky</dc:creator>
      <dc:date>2015-04-14T21:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489573#M12904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am experiencing a strange error.&amp;nbsp; On one map I run a query but I receive a Query Failed error if the results exceed a couple of hundred results . But on a second map (using the same instance of WAB Developer) I can run exactly the same query without receiving the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a map setting I am missing that defines the total number of results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 04:10:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489573#M12904</guid>
      <dc:creator>KevinHatch</dc:creator>
      <dc:date>2015-04-15T04:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489574#M12905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; can check the json file for both of your query widgets and verify that they are configured identically?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 11:56:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489574#M12905</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-04-15T11:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489575#M12906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that initially.&amp;nbsp; But I duplicated the template, switched the web map, and rebuilt the queries and the same issue has occurred. I even used AGOL and the issue occurs there.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very weird:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If I add the web map layer directly from Map A it works just fine (query over 8000 records and they all appear) (TRUE FOR MAP A ONLY)&lt;/P&gt;&lt;P&gt;2) If I add the same layer above using a service URL it limits the results to ~250 records (TRUE FOR ALL MAPS)&lt;/P&gt;&lt;P&gt;3) If I add the exact same layer but using a different web map it limits the record size to ~250 records (TRUE FOR MAP B ONLY)&lt;/P&gt;&lt;P&gt;4) If I add a public layer from ARC GIS Online it works fine (TRUE FOR ALL MAPS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is true for ALL tested layers.&amp;nbsp; It isn't isolated to a single layer.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have compared the layer info from the two web maps.&amp;nbsp; They appear to be identical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Linking to a service URL (rather then adding directly via map) on our server causes the results to be limited to ~250&lt;/P&gt;&lt;P&gt;2) The results off all layers in Web Map B are limited to ~250. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 16:44:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489575#M12906</guid>
      <dc:creator>KevinHatch</dc:creator>
      <dc:date>2015-04-15T16:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489576#M12907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sounds like you need to contact tech support with your example use case, so they can confirm a bug in the widget or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 17:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489576#M12907</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-04-15T17:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489577#M12908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will do. Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 17:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489577#M12908</guid>
      <dc:creator>KevinHatch</dc:creator>
      <dc:date>2015-04-15T17:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Query Widget Result Item Contents</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489578#M12909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made some modifications to this widget around line 900.&amp;nbsp; See the code below.&amp;nbsp; It sorts the fields based on the layer id.&amp;nbsp; You may be able to add alias / order information to this to get the information on the screen corrected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; _queryByObjectIds: function(objectIds, returnGeometry){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var queryParams = new EsriQuery();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.returnGeometry = !!returnGeometry;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.outSpatialReference = this.map.spatialReference;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.outFields = this._getOutputFields();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.objectIds = objectIds;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var layerId = this._getLayerIndexByLayerUrl(this.currentAttrs.config.url);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 15){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["STATION"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 16){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["DEPARTMENT"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 17){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["STATION"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 18){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["NAME"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 36){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["SITE_NAME"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 31){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["NAME01"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 32){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["PARK_NAME"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 33){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["Name"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 29){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["Name"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 30){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["AGENCY_CD"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 38){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["NAME01"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 39){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["NAME"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 10){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["Name"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 11){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["NAME"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 13){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["Cemetery"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerId === 12){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParams.orderByFields = ["Precinct"];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var queryTask = new QueryTask(this.currentAttrs.config.url);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return queryTask.execute(queryParams);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 18:13:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/query-widget-result-item-contents/m-p/489578#M12909</guid>
      <dc:creator>NicholasBarger</dc:creator>
      <dc:date>2015-04-15T18:13:09Z</dc:date>
    </item>
  </channel>
</rss>

