<?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: App already open in different mode [LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE]: in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183761#M5904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And even if you close the websocket connection the Engine will keep the session alive until the timeout period hits before we dispose of your app from memory just in case you would connect again so we can preserve selection state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can supply a "identity" param in the Location connection that will create a new engine session and you can then call openDoc again, this time with data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 14:44:51 GMT</pubDate>
    <dc:creator>Alexander_Thor</dc:creator>
    <dc:date>2016-09-14T14:44:51Z</dc:date>
    <item>
      <title>App already open in different mode [LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE]:</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183759#M5902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have this error in .NET Api&lt;/P&gt;&lt;P&gt;App already open in different mode [LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE]:&lt;/P&gt;&lt;P&gt;We have opened the app without data, but we closed the app (app = null) how to open it back in with data mode?&lt;/P&gt;&lt;P&gt;It seem that app stays open somewhere&lt;/P&gt;&lt;P&gt;Thanks Jean-Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 08:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183759#M5902</guid>
      <dc:creator>jp_golay</dc:creator>
      <dc:date>2016-09-14T08:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: App already open in different mode [LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE]:</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183760#M5903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just to set that app to null, changes nothing on the engine side, because the websocket connection behind are not closed.&lt;/P&gt;&lt;P&gt;You can try to displose the hub / location and hope that the .net will close the connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can also do is to use the Logout API and than make a complete new connection to the hub.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 09:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183760#M5903</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2016-09-14T09:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: App already open in different mode [LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE]:</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183761#M5904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And even if you close the websocket connection the Engine will keep the session alive until the timeout period hits before we dispose of your app from memory just in case you would connect again so we can preserve selection state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can supply a "identity" param in the Location connection that will create a new engine session and you can then call openDoc again, this time with data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 14:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183761#M5904</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2016-09-14T14:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: App already open in different mode [LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE]:</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183762#M5905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌How can add the identity parameters I can't see it in the location properties &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 15:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183762#M5905</guid>
      <dc:creator>jp_golay</dc:creator>
      <dc:date>2016-09-14T15:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: App already open in different mode [LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE]:</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183763#M5906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try again, with code:&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1473879996936679" jivemacro_uid="_1473879996936679"&gt;
&lt;P&gt;ISession session = null;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;if (EngineConnection.ExtraSession)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; session = Session.Random;&lt;/P&gt;
&lt;P&gt;else&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; session = Session.WithApp(appIdentifier, SessionType.Default);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;var hub = CurrentLocation.Hub(session, true);&amp;nbsp; &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the first Path with session = Session.Random, you should get a new session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 19:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/App-already-open-in-different-mode-LOCERR-APP-ALREADY-OPEN-IN/m-p/1183763#M5906</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2016-09-14T19:07:13Z</dc:date>
    </item>
  </channel>
</rss>

