<?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: Are there corresponding QML types or C++ classes that can be used to generate attribute values that match their field types? in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760507#M3784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The feature table has a list of fields, which contains names and field types. You could validate against that to make sure you are using the correct data type -&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-featuretable.html#fields" title="https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-featuretable.html#fields"&gt;FeatureTable Class | ArcGISQtCpp 100.0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if your services make use of FeatureTemplates or FeatureTypes, you could use the createFeature functions that create a new feature based on the feature type or template.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2016 15:39:27 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2016-11-29T15:39:27Z</dc:date>
    <item>
      <title>Are there corresponding QML types or C++ classes that can be used to generate attribute values that match their field types?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760506#M3783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Feature attributes have specific data types which the QT SDK v100.0 &amp;nbsp;enumerates here: &lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/enums-fieldtype.html"&gt;https://developers.arcgis.com/qt/latest/qml/api-reference/enums-fieldtype.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you recommend verifying that a user-inputted string will be supported in the feature table?&amp;nbsp;If a datum is&amp;nbsp;formatted incorrectly, the feature table rejects my updates instantly without sending a request. To me this indicates there are definitions for these field types somewhere in the library. How do I access this so I can make sure to validate/convert user input correctly?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 00:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760506#M3783</guid>
      <dc:creator>JonathonGrivas</dc:creator>
      <dc:date>2016-11-29T00:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Are there corresponding QML types or C++ classes that can be used to generate attribute values that match their field types?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760507#M3784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The feature table has a list of fields, which contains names and field types. You could validate against that to make sure you are using the correct data type -&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-featuretable.html#fields" title="https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-featuretable.html#fields"&gt;FeatureTable Class | ArcGISQtCpp 100.0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if your services make use of FeatureTemplates or FeatureTypes, you could use the createFeature functions that create a new feature based on the feature type or template.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 15:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760507#M3784</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-11-29T15:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Are there corresponding QML types or C++ classes that can be used to generate attribute values that match their field types?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760508#M3785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see how to validate an attribute value from the fields in the feature table class. &amp;nbsp;Say for example I want to allow users to input text to change an attribute value for an "esriFieldTypeDate" field, when I input "test" in that field, it fails to update saying the string is an invalid format. &amp;nbsp;Are correct formats for constructing "esriFieldTypeDate" from a string&amp;nbsp;listed somewhere?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 16:56:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760508#M3785</guid>
      <dc:creator>JonathonGrivas</dc:creator>
      <dc:date>2016-11-29T16:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Are there corresponding QML types or C++ classes that can be used to generate attribute values that match their field types?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760509#M3786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Field has a FieldType enumeration, which are things like Date, String, Int, etc. String should&amp;nbsp;accept anything that is a QString, Date should accept anything that is a QDate, and so on. Eventually, we will have a fully functional Popup that will help streamline these editing workflows. We have the building pieces in all of the Popup* classes, but we do not yet have an associated view to go with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 16:27:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/are-there-corresponding-qml-types-or-c-classes/m-p/760509#M3786</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-12-02T16:27:32Z</dc:date>
    </item>
  </channel>
</rss>

