<?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: ServiceFeatureTable Timeout? in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81599#M389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's no way in the API to force reestablishing connection - once online again, the layer should work as expected automatically. Are you able to share a reproducer app that showcases the issue? If you have Esri Support, I suggest you contact them and they can help you work through the issue and get a bug logged in our system if there indeed is an issue -&amp;nbsp;&lt;A href="https://support.esri.com/en/contact-tech-support"&gt;https://support.esri.com/en/contact-tech-support&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Aug 2019 14:31:36 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2019-08-28T14:31:36Z</dc:date>
    <item>
      <title>ServiceFeatureTable Timeout?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81597#M387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have am connected to our company portal and I have a serviceFeatureTable (onlineFeatureTable) that I set to one of my maps operationallayers and then regularly query and get results from it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-style: italic;"&gt;onlineQueryID&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;serviceFeatureTableX&lt;/SPAN&gt;&lt;/SPAN&gt;.queryFeaturesWithFieldOptions(&lt;SPAN style="font-style: italic;"&gt;fieldsQueryParameters&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #55ff55;"&gt;Enums&lt;/SPAN&gt;.QueryFeatureFieldsLoadAll);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This query normally returns results when its feature status is updated and Does Something with it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Connections &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        target&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; onlineFeatureTable

        onQueryFeaturesStatusChanged&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;onlineFeatureTable&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;queryFeaturesStatus &lt;SPAN class="operator token"&gt;===&lt;/SPAN&gt; Enums&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;TaskStatusCompleted&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                Do Something

            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;onlineFeatureTable&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;queryFeaturesStatus &lt;SPAN class="operator token"&gt;===&lt;/SPAN&gt; Enums&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;TaskStatusErrored&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                ERROR
            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;
            &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                  Enums&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;TaskStatusInProgress
            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This above normally works.&amp;nbsp; But it seems that after about a half hour or so, my table never returns any results, I get the &lt;STRONG&gt;TaskStatusInProgress&lt;/STRONG&gt; back from the Tables FeaturesStatusChanged Property, but never anything else.&amp;nbsp; The only way I can get this to reset is to run the logic to rebuild my ServiceFeatureTable, but I never know when to do this.&amp;nbsp; Is there a timeout or something on the ServiceFeatureTable that I can catch or monitor, or some status that I can get on the table to know if it is "Stagnant" in some way.&amp;nbsp; &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:07:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81597#M387</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2021-12-10T23:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceFeatureTable Timeout?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81598#M388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still working on this issue.&amp;nbsp; It seems to happen that when I go offline (airplane mode) on my app, and then come back online, my servicefeaturetable seems to lose the connection and is unable to reestablish that connection.&amp;nbsp; I know this because I can use the same definition query on that table and it works, but if I change the query no results are returned.&amp;nbsp; I can also clear the cache on the table and no results are returned.&amp;nbsp; I need a quick way to reestablish this connection or know that the connection or the table is not updating or syncing up any longer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there someway in which I can tell the ServiceFeatureTable to "Reestablish connection"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 19:42:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81598#M388</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2019-08-27T19:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceFeatureTable Timeout?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81599#M389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's no way in the API to force reestablishing connection - once online again, the layer should work as expected automatically. Are you able to share a reproducer app that showcases the issue? If you have Esri Support, I suggest you contact them and they can help you work through the issue and get a bug logged in our system if there indeed is an issue -&amp;nbsp;&lt;A href="https://support.esri.com/en/contact-tech-support"&gt;https://support.esri.com/en/contact-tech-support&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 14:31:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81599#M389</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-08-28T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceFeatureTable Timeout?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81600#M390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is simple to reproduce on our end.&amp;nbsp; I just have a map with a number of layers.&amp;nbsp; I set up a ServiceFeatureTable based on the .table of one of those layers.&amp;nbsp; I use that layer to do a queryExpression and get some results.&amp;nbsp; But if I take my phone to AirPlane mode and then back to nonAirPlane mode.&amp;nbsp; I am no longer able to query that ServiceFeatrueTable&amp;nbsp; with anything other than its cached values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 14:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81600#M390</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2019-08-28T14:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceFeatureTable Timeout?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81601#M391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this might be more of a portal related issue?&amp;nbsp; I am trying to reconnect to the portal&amp;nbsp;and get a new token.&amp;nbsp; I just set up a button to do this, so after I turn airplane mode off then on, i hit the button.&amp;nbsp; I keep getting this error in the messages and i can't reconnect unless I shut down the app and reopen.&amp;nbsp; Which is not an option for me.&amp;nbsp; This is using the NetworkRequest functionality&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void __cdecl NetworkAccessManagerAuth::invokeNetworkError(const class QUrl &amp;amp;,int,const class QString &amp;amp;) QUrl("https://cccccccccccxxxxx/arcgis/sharing/rest/generateToken") 99 "Network access is disabled."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QIODevice::read (QDisabledNetworkReply): device not open&lt;/P&gt;&lt;P&gt;ArcGIS.AppFramework.Network: void __cdecl NetworkRequest::setErrorCode(int) 99&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 16:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/servicefeaturetable-timeout/m-p/81601#M391</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2019-08-28T16:08:31Z</dc:date>
    </item>
  </channel>
</rss>

