<?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: QML selectFeaturesResult in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739484#M128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are missing a parameter that turns on and off what parameters that are showing, or to show all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looping in &lt;A href="https://community.esri.com/space/2136"&gt;ArcGIS Runtime SDK for Qt&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2019 02:40:55 GMT</pubDate>
    <dc:creator>ErwinSoekianto</dc:creator>
    <dc:date>2019-02-20T02:40:55Z</dc:date>
    <item>
      <title>QML selectFeaturesResult</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739483#M127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using code snippets from:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_QMLSamples/EditData/EditFeatureAttachments/EditFeatureAttachments.qml" title="https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_QMLSamples/EditData/EditFeatureAttachments/EditFeatureAttachments.qml" rel="nofollow noopener noreferrer" target="_blank"&gt;arcgis-runtime-samples-qt/EditFeatureAttachments.qml at master · Esri/arcgis-runtime-samples-qt · GitHub&lt;/A&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And having issues with the:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;selectedFC&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;selectFeaturesResult&lt;/SPAN&gt;.iterator.next();
console.log(&lt;SPAN style="font-style: italic; color: #0055af;"&gt;JSON&lt;/SPAN&gt;.stringify(&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;selectedFC&lt;/SPAN&gt;.attributes);
//////

qml: {"objectName":"","count":3,"attributesJson":{"firstname":null,"objectid":481199,"typdamage":"Minor"},"attributeNames":["firstname","objectid","typdamage"],"error":null}

does not have all the attributes from the feature layer.

Thank you,

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:28:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739483#M127</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2021-12-12T07:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: QML selectFeaturesResult</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739484#M128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are missing a parameter that turns on and off what parameters that are showing, or to show all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looping in &lt;A href="https://community.esri.com/space/2136"&gt;ArcGIS Runtime SDK for Qt&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 02:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739484#M128</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2019-02-20T02:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: QML selectFeaturesResult</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739485#M129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to get all fields, you will need to query the service. I've just noticed that we have an issue in our doc for ServiceFeatureTable that is missing this info, so I will work on getting this added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you will need to call is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ServiceFeatureTable::queryFeaturesWithFieldOptions(QueryParameters parameters, Enums.QueryFeatureFields queryFeatureFields)&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;For QueryFeatureFields,&amp;nbsp;use Enums.QueryFeatureFieldsLoadAll -&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/enums-queryfeaturefields.html" title="https://developers.arcgis.com/qt/latest/qml/api-reference/enums-queryfeaturefields.html"&gt;Enums.QueryFeatureFields enumeration | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of this sample specifically, you could do the following workflow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- mouseClick&amp;nbsp; -&amp;gt; perform identifyLayer&lt;/P&gt;&lt;P&gt;- once you get the feature back, call queryFeaturesWithFieldOptions using the unique ObjectID and the LoadAll enum&lt;/P&gt;&lt;P&gt;- Connect to ServiceFeatureTable::onQueryFeaturesStatusChanged and wait for it to complete&lt;/P&gt;&lt;P&gt;- Once complete, access all the fields, and call FeatureLayer::selectFeature with the supplied Feature object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 19:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739485#M129</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-02-20T19:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: QML selectFeaturesResult</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739486#M130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Added my test code to the repo:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/goriliukasbuxton/qml_selection/blob/master/MyApp.qml#L86"&gt;https://github.com/goriliukasbuxton/qml_selection/blob/master/MyApp.qml#L86&lt;/A&gt;&lt;/P&gt;&lt;P&gt;would be nice if you could add your code where.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;its a bit confusing because selectFeaturesResult and the IdentifyLayerResult returns &lt;SPAN style="color: #99cc00;"&gt;QmlArcGISFeature()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;SPAN style="color: #000000;"&gt;and both have&amp;nbsp;'.attributes'&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 21:14:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/qml-selectfeaturesresult/m-p/739486#M130</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2019-02-20T21:14:48Z</dc:date>
    </item>
  </channel>
</rss>

