<?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 Manually populate from service on FeatureRequestModeOnInteractionCache in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/manually-populate-from-service-on/m-p/605732#M3072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to manually refresh my featureTable when a user applyEdits to get updated attributes from the backend on the feature I was editing and see if anyone else was editing other features in my extent. Panning or zooming does this, but I want to manually call it. I am using&amp;nbsp;FeatureRequestModeOnInteractionCache.&amp;nbsp;populateFromService seems to work but only when&amp;nbsp;FeatureRequestMode is&amp;nbsp;FeatureRequestModeManualCache.&amp;nbsp;clearCache does half the job, but the featureTable doesn't refresh without user interaction.&amp;nbsp;loadOrRefreshFeatures lets me refresh the feature I updated for the attributes from the backend, but does't get other user changes in my extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I am missing something.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2019 18:34:14 GMT</pubDate>
    <dc:creator>MarkHolm</dc:creator>
    <dc:date>2019-09-10T18:34:14Z</dc:date>
    <item>
      <title>Manually populate from service on FeatureRequestModeOnInteractionCache</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/manually-populate-from-service-on/m-p/605732#M3072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to manually refresh my featureTable when a user applyEdits to get updated attributes from the backend on the feature I was editing and see if anyone else was editing other features in my extent. Panning or zooming does this, but I want to manually call it. I am using&amp;nbsp;FeatureRequestModeOnInteractionCache.&amp;nbsp;populateFromService seems to work but only when&amp;nbsp;FeatureRequestMode is&amp;nbsp;FeatureRequestModeManualCache.&amp;nbsp;clearCache does half the job, but the featureTable doesn't refresh without user interaction.&amp;nbsp;loadOrRefreshFeatures lets me refresh the feature I updated for the attributes from the backend, but does't get other user changes in my extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I am missing something.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/manually-populate-from-service-on/m-p/605732#M3072</guid>
      <dc:creator>MarkHolm</dc:creator>
      <dc:date>2019-09-10T18:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Manually populate from service on FeatureRequestModeOnInteractionCache</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/manually-populate-from-service-on/m-p/605733#M3073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned, populateFromService is intended for use with manual cache mode only. If you want a specialized feature request workflow, then I suggest manual cache mode. If the on interaction cache mode works except for this one scenario, there are a couple workarounds to try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- set the refresh interval on the feature layer. This will update at a given interval but not after an event such as an edit.&lt;/P&gt;&lt;P&gt;- manually setViewpoint on the MapView after an edit was completed. Something that just slightly changes the MapViews extent should be enough to trigger a request. As a test, I opened the Add Features sample in Qt Creator and opened the same feature service in the browser. On applyEditsStatusChanged signal, I call `mapView.setViewpointScale(mapView.mapScale - 100);`. I then add a feature in the browser, next add a feature in my Qt app, and the feature added from the browser shows up after.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 17:44:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/manually-populate-from-service-on/m-p/605733#M3073</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-09-11T17:44:08Z</dc:date>
    </item>
  </channel>
</rss>

