<?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: AppStudio 5.4 on Windows - queryStatistics using a web map featureTable fails to return data in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1207752#M4355</link>
    <description>&lt;P&gt;If it is secured and you're not authenticating, then there would be a problem accessing the layer that contains the feature table. The error code doesn't necessarily indicate this, but it could be the culprit. An easy way to test it is swapping the ServiceFeatureTable url with your layer url in the sample app that is currently working. You should see the same error message as the template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing you can try is navigating into the App settings and enabling the "Support secured maps"&amp;nbsp; setting under Properties -&amp;gt; Gallery. This should make it so when ran, a Sign In button will appear on the landing page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-08-30 at 8.44.45 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49831iCBE98EB23007361A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-08-30 at 8.44.45 AM.png" alt="Screen Shot 2022-08-30 at 8.44.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Trevor&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 15:47:36 GMT</pubDate>
    <dc:creator>TrevorFrame</dc:creator>
    <dc:date>2022-08-30T15:47:36Z</dc:date>
    <item>
      <title>AppStudio 5.4 on Windows - queryStatistics using a web map featureTable fails to return data</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1206472#M4350</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I'm using AppStudio 5.4 and the 5.4 Map Viewer template connected to a secured ArcGIS Enterprise Web Map.&lt;BR /&gt;I've written some custom QML code to do a statistical query on one of the layers. This test query should return the count for each type of "&lt;EM&gt;maintenanceClass&lt;/EM&gt;".&lt;BR /&gt;Because the statistical query failed, I decided to test a similar query to simply return features. This worked fine.&lt;BR /&gt;My question is - How does one properly use the queryStatistics method when using a web map layer?&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;using Qt Creator 5.0.2&lt;BR /&gt;using Esri.ArcGISRuntime 100.14&lt;BR /&gt;queryFeatures works fine&lt;BR /&gt;queryStatistics fails&lt;BR /&gt;fail message is: QObject::connect: Cannot queue arguments of type 'std::shared_ptr&amp;lt;QRTImpl::StatisticsQueryResultImpl&amp;gt;'(Make sure 'std::shared_ptr&amp;lt;QRTImpl::StatisticsQueryResultImpl&amp;gt;' is registered using qRegisterMetaType().)&lt;BR /&gt;statistical query based on Esri example &lt;A href="https://developers.arcgis.com/qt/qml/sample-code/statistical-query-group-sort/" target="_blank"&gt;https://developers.arcgis.com/qt/qml/sample-code/statistical-query-group-sort/&lt;/A&gt;&lt;BR /&gt;layer Supports Advanced Queries: true&lt;BR /&gt;layer Supports Statistics: true&lt;BR /&gt;layer Use Standardized Queries: true&lt;/P&gt;&lt;P&gt;Code snippet attached.&lt;/P&gt;&lt;P&gt;I'm developing in Windows and targeting iOS.&lt;BR /&gt;Anyone have any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 18:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1206472#M4350</guid>
      <dc:creator>BurnsideAdmin</dc:creator>
      <dc:date>2022-08-25T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio 5.4 on Windows - queryStatistics using a web map featureTable fails to return data</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1206958#M4352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/116400"&gt;@BurnsideAdmin&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Looking at your code snippet you provided, it seems like it should work properly as you are using a Service Feature Table and waiting on the Query Statistic Status. Have you tried copying the runtime sample into an AppStudio app to test whether that runs for you? Based on the error message you provided, it seems like it's having an issue implementing the query results property that is used to store the results. If you are getting the same error with the Runtime sample, there may be an issue not related to how your code is setup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trevor&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 23:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1206958#M4352</guid>
      <dc:creator>TrevorFrame</dc:creator>
      <dc:date>2022-08-26T23:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio 5.4 on Windows - queryStatistics using a web map featureTable fails to return data</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1207670#M4354</link>
      <description>&lt;P&gt;Hello Trevor,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;You wrote:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Have&lt;/STRONG&gt; &lt;STRONG&gt;you tried copying the runtime sample into an AppStudio app to test whether that runs for you?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Yes, the sample code ran properly when I tried it in a test app. The sample code creates a service feature&amp;nbsp; table by declaring a ServiceFeatureTable with a URL. My service feature&amp;nbsp; table is derived from a layer in a secured web map. I wonder if this is where the problem lies.&lt;/P&gt;&lt;P&gt;Gord&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 13:48:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1207670#M4354</guid>
      <dc:creator>BurnsideAdmin</dc:creator>
      <dc:date>2022-08-30T13:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio 5.4 on Windows - queryStatistics using a web map featureTable fails to return data</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1207752#M4355</link>
      <description>&lt;P&gt;If it is secured and you're not authenticating, then there would be a problem accessing the layer that contains the feature table. The error code doesn't necessarily indicate this, but it could be the culprit. An easy way to test it is swapping the ServiceFeatureTable url with your layer url in the sample app that is currently working. You should see the same error message as the template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing you can try is navigating into the App settings and enabling the "Support secured maps"&amp;nbsp; setting under Properties -&amp;gt; Gallery. This should make it so when ran, a Sign In button will appear on the landing page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-08-30 at 8.44.45 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49831iCBE98EB23007361A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-08-30 at 8.44.45 AM.png" alt="Screen Shot 2022-08-30 at 8.44.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Trevor&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 15:47:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-5-4-on-windows-querystatistics-using-a/m-p/1207752#M4355</guid>
      <dc:creator>TrevorFrame</dc:creator>
      <dc:date>2022-08-30T15:47:36Z</dc:date>
    </item>
  </channel>
</rss>

