<?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: Post  database script to app using api in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832948#M15544</link>
    <description>&lt;P&gt;If you connect via the Proxy&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;location.AsStaticHeaderUserViaProxyAsync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then your URI should be the proxy path -- same URL you use in the browser -- not the engine port.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2021 14:37:28 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2021-09-01T14:37:28Z</dc:date>
    <item>
      <title>Post  database script to app using api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832385#M15528</link>
      <description>&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;We are trying to create templates so end users can base their work on. We want him&amp;nbsp; to choose between a set of scripts already written . Is their anyway to post a whole script to an&amp;nbsp; existing app using&amp;nbsp; api request ? We are using .net to develop the framework.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 06:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832385#M15528</guid>
      <dc:creator>eazoury</dc:creator>
      <dc:date>2021-08-31T06:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Post  database script to app using api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832616#M15532</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147458"&gt;@eazoury&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You probably could use ODAG if the only that changes is the where clause ,as the odag will segreate according to selections&lt;/P&gt;
&lt;P&gt;Qlik Sense in 60 - On Demand App Generation (ODAG)&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=Ft3I00-g4H4" target="_blank"&gt;https://www.youtube.com/watch?v=Ft3I00-g4H4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But if what you want is to have different scritps, you proabaly will need to duplicate the app and change the script&lt;/P&gt;
&lt;P&gt;Copy App:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Make-Copy.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Make-Copy.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/February2020/APIs/EngineAPI/services-Global-CopyApp.html" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/February2020/APIs/EngineAPI/services-Global-CopyApp.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Set Script&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/April2020/APIs/EngineAPI/services-Doc-SetScript.html" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/April2020/APIs/EngineAPI/services-Doc-SetScript.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You will probably need to change the owner if the API is not triggered with the user that needs access to the app, and also you will need to trigger a reload&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/CreatingAppLoadingData/LoadData/reload-app.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/CreatingAppLoadingData/LoadData/reload-app.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 17:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832616#M15532</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2021-08-31T17:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Post  database script to app using api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832696#M15533</link>
      <description>&lt;P&gt;You can use App.SetScript in the .net sdk.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2021/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.SetScript.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2021/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.SetScript.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 22:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832696#M15533</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-08-31T22:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Post  database script to app using api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832932#M15542</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;Thanks for your reply it was very helpful.&lt;/P&gt;&lt;P&gt;I tried using the qlik engine and wrote some code here is how it looks like :&lt;/P&gt;&lt;P&gt;public Stream setScript(string appId , string script)&lt;BR /&gt;{&lt;BR /&gt;location.VirtualProxyPath = "&lt;A href="https://sensetst:4747/engineapi/" target="_blank"&gt;https://sensetst:4747/engineapi/&lt;/A&gt;";&lt;/P&gt;&lt;P&gt;location.AsStaticHeaderUserViaProxyAsync("FR-MUREX-COM", "stat-hdr",false, false);&lt;BR /&gt;&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;using (var app = location.App(location.AppWithId(appId), randomSession, null, true))// Location specified in Accessing&lt;BR /&gt;{&lt;BR /&gt;app.SetScript(script);&lt;BR /&gt;byte[] byteArray = Encoding.ASCII.GetBytes("ok");&lt;BR /&gt;return new MemoryStream(byteArray);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;catch (MethodInvocationException e)&lt;BR /&gt;{&lt;BR /&gt;byte[] byteArray = Encoding.ASCII.GetBytes("Could not open app: " + Environment.NewLine + e.InvocationError.Message);&lt;BR /&gt;return new MemoryStream(byteArray);&lt;BR /&gt;}&lt;BR /&gt;catch (TimeoutException e)&lt;BR /&gt;{&lt;BR /&gt;byte[] byteArray = Encoding.ASCII.GetBytes("Timeout for: " + Environment.NewLine + e.Message);&lt;BR /&gt;return new MemoryStream(byteArray);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;However opening the app&amp;nbsp; : location.appwithid() is giving me a time out exception "Method "QTProduct" timed out"&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could it be a problem with the proxy configuration&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eazoury_0-1630505319999.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61140iA8838A570937CE05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eazoury_0-1630505319999.png" alt="eazoury_0-1630505319999.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832932#M15542</guid>
      <dc:creator>eazoury</dc:creator>
      <dc:date>2021-09-01T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Post  database script to app using api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832948#M15544</link>
      <description>&lt;P&gt;If you connect via the Proxy&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;location.AsStaticHeaderUserViaProxyAsync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then your URI should be the proxy path -- same URL you use in the browser -- not the engine port.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1832948#M15544</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-09-01T14:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Post  database script to app using api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1833595#M15552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147458"&gt;@eazoury&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By any chance have you seen this already ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Integration-Extension-APIs/First-steps-in-Qlik-Sense-NET-SDK-saga-What-I-did-Wrong/td-p/1110948" target="_blank"&gt;https://community.qlik.com/t5/Integration-Extension-APIs/First-steps-in-Qlik-Sense-NET-SDK-saga-What-I-did-Wrong/td-p/1110948&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 11:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Post-database-script-to-app-using-api/m-p/1833595#M15552</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2021-09-03T11:57:55Z</dc:date>
    </item>
  </channel>
</rss>

