<?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: Not able to edit feature service using ArcGIS Runtime for QT  in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806988#M1454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for notifing I was updating the post no idea why it created duplicates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Mar 2020 13:55:03 GMT</pubDate>
    <dc:creator>BrentSlone3</dc:creator>
    <dc:date>2020-03-22T13:55:03Z</dc:date>
    <item>
      <title>Not able to edit feature service using ArcGIS Runtime for QT</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806986#M1452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to access a feature service published on ArcGIS Server 10.6 using &lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-servicefeaturetable.html"&gt;ServiceFeatureTable&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;I am accessing the feature service as following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;FeatureLayer {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;id:trackerFeatureLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ServiceFeatureTable{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;id:trackingServiceFeatureTable&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;url:"https://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/0"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// credential: Credential {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// username: "ABC"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// password: "XYZ"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// }&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;onApplyEditsStatusChanged: {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (applyEditsStatus === Enums.TaskStatusCompleted) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;console.log("successfully updated feature");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&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;Since ServiceFeatureTable inherits all the properties from FeatureTable I am trying to add a point to this feature service by using createFeature(), addFeature() and then applyEdits().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try using createFeature() it returns null, so I checked if the feature layer is editable or not and it returns fales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;console.log("checking if edits are &lt;SPAN&gt;permitted&lt;/SPAN&gt;,",trackingServiceFeatureTable.canAdd())&lt;BR /&gt; console.log("checking if featurelayer is editable,",trackingServiceFeatureTable.editable)&lt;/P&gt;&lt;P&gt;var pointFeature = trackingServiceFeatureTable.createFeature();&lt;BR /&gt; console.log("checking pointFeature",pointFeature)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;qml: checking if edits are permitted, false&lt;/P&gt;&lt;P&gt;qml: checking if featurelayer is editable, false&lt;/P&gt;&lt;P&gt;qml: checking pointFeature null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what is wrong in the code, the sample service is public, tried adding credentials user1/user1 however that also fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Mar 2020 13:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806986#M1452</guid>
      <dc:creator>BrentSlone3</dc:creator>
      <dc:date>2020-03-22T13:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to edit feature service using ArcGIS Runtime for QT</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806987#M1453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you go back and delete some of your duplicated posts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Mar 2020 13:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806987#M1453</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-22T13:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to edit feature service using ArcGIS Runtime for QT</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806988#M1454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for notifing I was updating the post no idea why it created duplicates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Mar 2020 13:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806988#M1454</guid>
      <dc:creator>BrentSlone3</dc:creator>
      <dc:date>2020-03-22T13:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to edit feature service using ArcGIS Runtime for QT</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806989#M1455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you add the QMLFeatureLayer as a layer using&lt;/P&gt;&lt;P&gt;mapView.map.operationalLayers.append(featureLayerToBeAdded)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The editing capability are turned off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to edit I added the QMLFeatureLayer in QMLMap and did not explicitly add it using the append() method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After added in QMLFeatureLayer in QMLMap I was able to edit the feature service:&lt;/P&gt;&lt;P&gt;Map{&lt;BR /&gt; id:map&lt;/P&gt;&lt;P&gt;BasemapTopographic{}&lt;BR /&gt; initialViewpoint: ViewpointCenter {&lt;BR /&gt; id:initialViewpoint&lt;BR /&gt; center: Point {&lt;BR /&gt; x: 11805395.771211328&lt;BR /&gt; y: 975123.3058248572&lt;BR /&gt; spatialReference: SpatialReference {wkid: 102100}&lt;BR /&gt; }&lt;BR /&gt; targetScale: 9e6&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;FeatureLayer {&lt;BR /&gt; id: featuretrackerLayer&lt;BR /&gt; ServiceFeatureTable {&lt;BR /&gt; id: featureTrackerTable&lt;BR /&gt; url: featureServerURL&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 15:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/not-able-to-edit-feature-service-using-arcgis/m-p/806989#M1455</guid>
      <dc:creator>BrentSlone3</dc:creator>
      <dc:date>2020-03-24T15:43:05Z</dc:date>
    </item>
  </channel>
</rss>

