<?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: Engine API OpenDoc by qDocName issue in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867260#M2950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeffrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created this app with the Repository API (App: Make copy) and I used an UUID for the name (this is not the file name on disk, if there is any on server..). For some reason I do not need a friendly app name here so I just use this UUID I created with my Java websocket client. But as you can see in my screenshot OpenDoc doesn't work with Qlik Sense Server (but does works with Deskotp!). So I assumed this must be an issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 May 2015 19:11:55 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2015-05-16T19:11:55Z</dc:date>
    <item>
      <title>Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867258#M2948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that OpenDoc against Qlik Sense Server doesn't work if I use qDocName param (but works w/ desktop):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="OpenDoc.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86663_OpenDoc.jpg" style="height: 569px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Alternatively, OpenDoc with qDocId works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"jsonrpc":"2.0","handle":-1,"method":"OpenDoc","id":3,"params":["46d9a928-0fba-40a5-bd8c-3258435aa66e","","","",true]}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this would mean an extra iteration to obtain DocId from DocName. I assume this is an API bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 09:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867258#M2948</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-05-15T09:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867259#M2949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying that instead of using an app name like "Sales Discovery" you have to use "db8261a8-9a61-4b5e-afbd-77cfc246b119" in the qDocName property?&amp;nbsp; I agree the OpenDoc qDocName property doesn't match with the contents of getDocList qDocName property. Looks like you have to use the qDocId from getDocList as the qDocName property in OpenDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Qlik Sense server, the name of the file on disk is actually the guid and not the friendly name.&amp;nbsp; So I can't say it's a bug, but it's not totally clear what the contents of qDocName need to be when accessing the engine from the server versus desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QSPT.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86752_QSPT.png" style="height: 520px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 18:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867259#M2949</guid>
      <dc:creator />
      <dc:date>2015-05-16T18:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867260#M2950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeffrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created this app with the Repository API (App: Make copy) and I used an UUID for the name (this is not the file name on disk, if there is any on server..). For some reason I do not need a friendly app name here so I just use this UUID I created with my Java websocket client. But as you can see in my screenshot OpenDoc doesn't work with Qlik Sense Server (but does works with Deskotp!). So I assumed this must be an issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 19:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867260#M2950</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-05-16T19:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867261#M2951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My example runs against the Qlik Sense server.&amp;nbsp; Did you use the engine api to create your app?&amp;nbsp; If so you I assume you used the CreateApp method and added a name to the qAppName.&amp;nbsp; When you do that the response is the qAppId.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QSPT.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86759_QSPT.png" style="height: 350px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;If you run an OpenDoc method against the created qAppId using the qAppId as the qDocName:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QSPT.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/86760_QSPT.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;You see you receive a response that looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QSPT.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/86761_QSPT.png" style="height: 152px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see you receive a handle for the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree, the engine documentation for 1.1 doesn't tie with what one sees in the engine api, but it is working from the server just fine in my implementation if I use the created qAppId as the qDocName.&amp;nbsp; I think the UUID you used for your app ends up being the AppName and not the Respository created guid for the app which is really what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 20:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867261#M2951</guid>
      <dc:creator />
      <dc:date>2015-05-16T20:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867262#M2952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the Repository API to copy the app from another one and I use a UUID as the new name. I also get a message back with the Doc ID I can use to open the app with OpenDoc, but this is not the point here. I cannot open the app with the Doc Name I used to copy...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 23:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867262#M2952</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-05-16T23:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867263#M2953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the server, the application name - I'll call it a friendly name - is not how you open an application using the engine api with Qlik Sense Server.&amp;nbsp; You use the guid that gets created when an app is created, imported, or duplicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between the desktop client and the server is that the actual file names are different.&amp;nbsp; The desktop client uses a file name like the friendly name where the server uses the guid to identify the file.&amp;nbsp; The point of the guid is to mitigate filename conflicts in the shared development environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately, I don't think it's a bug.&amp;nbsp; It's a difference in how files are named in the different environments.&amp;nbsp; Like I said earlier, I think the documentation needs to show an example using the desktop protocol tester versus the server protocol tester.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 01:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867263#M2953</guid>
      <dc:creator />
      <dc:date>2015-05-17T01:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867264#M2954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it's the correct behaviour. &lt;BR /&gt;Actually in Desktop it's just a coincidence that qDocName works as it should be qDocId even for Desktop. Now in Desktop your qDocName _might_ be the same as the qDocId however you have the possibility to change the name of a app without changing the actual filename on disk, we decoupled filename and app name in Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I do agree it's somewhat confusing that the documentation references qDocName and not qDocId but c'est la vie &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next issue you are likely to run into will be sessions and errors that the app is already open etc.&lt;BR /&gt;If you do, don't hesitate to drop me an email and I'll walk you through how we separate identities on the websocket connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 01:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867264#M2954</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-05-18T01:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867265#M2955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am getting the app already open error, error code : 1002.&lt;/P&gt;&lt;P&gt;Help me out how to solve this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiriti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 22:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867265#M2955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-21T22:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API OpenDoc by qDocName issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867266#M2956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting 'App already open' error in my Java websocket connection to Qlik sense engine api on passing appids to Opendoc method. Please help me to resolve this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 06:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-OpenDoc-by-qDocName-issue/m-p/867266#M2956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-05T06:48:58Z</dc:date>
    </item>
  </channel>
</rss>

