<?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: Duplicate App using .NET SDK in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807738#M2660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;sorry for such delayed answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the path you advised does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an integration test that fails:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;SPAN style="color: #4ec9b0;"&gt;Fact&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;void&lt;/SPAN&gt; QrsApi_CopiesAppCorrectly()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var&lt;/SPAN&gt; response &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; MakeRequest(&lt;SPAN style="color: #d69d85;"&gt;"app/fc44a98a-499a-4569-930f-fe1bc7f96326/copy?name=AppCopy"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #4ec9b0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assert&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #b4b4b4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Equal(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #b8d7a3;"&gt;HttpStatusCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #b4b4b4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;OK, response&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #b4b4b4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;StatusCode);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while this one succeeds:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;SPAN style="color: #4ec9b0;"&gt;Fact&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;void&lt;/SPAN&gt; QrsApi_CanBeCalled()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var&lt;/SPAN&gt; response &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; MakeRequest(&lt;SPAN style="color: #d69d85;"&gt;"app"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4ec9b0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assert&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Equal(&lt;SPAN style="color: #b8d7a3;"&gt;HttpStatusCode&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;OK, response&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;StatusCode);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As answered in this thread: &lt;A href="https://community.qlik.com/thread/138947"&gt;Get list of available endpoints (paths) QRS API&lt;/A&gt; there is a bug in documentation.&lt;/P&gt;&lt;P&gt;Currently we are using version 1.1 and the problem still persists.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let's just hope that this endpoint will be available in the next build.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 11:26:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-06T11:26:54Z</dc:date>
    <item>
      <title>Duplicate App using .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807736#M2658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;We're building our own Web application using Qlik Sense .NET SDK. And we're trying to re-create the process of duplicating an existing App (same as in QMC).&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;From what I've researched the only option is to use copyApp method:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14264992653426907 jive_macro_code" jivemacro_uid="_14264992653426907"&gt;
&lt;P&gt;using (var hub = location.Hub())&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hub.CopyApp(destApp.AppId, srcApp.AppId, &amp;lt;array of QRS identifiers&amp;gt;);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Documentation says that we can get QRS identifiers from from the following path:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;/qrs/app/9c3f8634-6191-4a34-a114-a39102058d13 Where 9c3f8634-6191-4a34-a114-a39102058d13 is the identifier of the app&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;but it simply returns App object specific data and nothing about child objects.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;So the question is:&lt;BR /&gt;is there any fast way to get QRS identifiers without drilling down every child object of an App and getting its GUID?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Perhaps there is a different method on how to achieve the same result?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Any help is appreciated!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;BR /&gt;Rustam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 09:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807736#M2658</guid>
      <dc:creator />
      <dc:date>2015-03-16T09:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate App using .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807737#M2659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For what you want to do there is a rest API /qrs/app&amp;lt;id&amp;gt;/copy?name=&amp;lt;destination appname&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Lars-Göran Book&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 13:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807737#M2659</guid>
      <dc:creator />
      <dc:date>2015-03-17T13:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate App using .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807738#M2660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;sorry for such delayed answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the path you advised does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an integration test that fails:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;SPAN style="color: #4ec9b0;"&gt;Fact&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;void&lt;/SPAN&gt; QrsApi_CopiesAppCorrectly()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var&lt;/SPAN&gt; response &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; MakeRequest(&lt;SPAN style="color: #d69d85;"&gt;"app/fc44a98a-499a-4569-930f-fe1bc7f96326/copy?name=AppCopy"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #4ec9b0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assert&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #b4b4b4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Equal(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #b8d7a3;"&gt;HttpStatusCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #b4b4b4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;OK, response&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #b4b4b4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;StatusCode);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while this one succeeds:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;SPAN style="color: #4ec9b0;"&gt;Fact&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;void&lt;/SPAN&gt; QrsApi_CanBeCalled()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var&lt;/SPAN&gt; response &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; MakeRequest(&lt;SPAN style="color: #d69d85;"&gt;"app"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4ec9b0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assert&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Equal(&lt;SPAN style="color: #b8d7a3;"&gt;HttpStatusCode&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;OK, response&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;StatusCode);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As answered in this thread: &lt;A href="https://community.qlik.com/thread/138947"&gt;Get list of available endpoints (paths) QRS API&lt;/A&gt; there is a bug in documentation.&lt;/P&gt;&lt;P&gt;Currently we are using version 1.1 and the problem still persists.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let's just hope that this endpoint will be available in the next build.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 11:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807738#M2660</guid>
      <dc:creator />
      <dc:date>2015-05-06T11:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate App using .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807739#M2661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to be clear, the other thread you are linking to refers to /qrs/about and has nothing to do with this endpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you can supply some more sample code as the endpoint /qrs/app/{id}/copy works just fine, QMC uses it to duplicate apps for example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807739#M2661</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-06-01T17:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate App using .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807740#M2662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Alexander.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. &lt;BR /&gt;Indeed everything works fine, tests now succeed. &lt;/P&gt;&lt;P&gt;We moved to using certificates, so perhaps the problem was that I tried making POST requests while using windows authentication.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 08:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Duplicate-App-using-NET-SDK/m-p/807740#M2662</guid>
      <dc:creator />
      <dc:date>2015-06-02T08:07:18Z</dc:date>
    </item>
  </channel>
</rss>

