<?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: Show App Object in external webpage | Trouble with Windows authentication in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Show-App-Object-in-external-webpage-Trouble-with-Windows/m-p/1625757#M11352</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i dont see a 302 status no.&lt;/P&gt;&lt;P&gt;We are using June 2019 and i will schedule the installation of the patch and i will update this post accordingly, thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to get going with my project i used a different approach now und build a mashup with the DevTools and&lt;/P&gt;&lt;P&gt;included it as an iframe to avoid the authentication issue. I have a differnt problem now.&lt;/P&gt;&lt;P&gt;I am loading 3 apps and 7 app objects from these apps and display them in my mashup.&lt;/P&gt;&lt;P&gt;The problem ist now, that theay are loaded quite inconsistently, even within the DevTools.&lt;/P&gt;&lt;P&gt;Basically the objects are never loaded completely, 1 to 4 object always stay blank without any pattern.&lt;/P&gt;&lt;P&gt;When i reduce the number ob objects it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best practice to load those app objects? I did it according to the documentation, see here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;...

require( ["js/qlik"], function ( qlik ) {
qlik.setOnError( function ( error ) {
	alert( error.message );
} );


//open apps -- inserted here --
var appFehler 		= qlik.openApp('95b86fbc-fe88-427a-9ce2-b653a238fcd1', config);
var appIncidents 	= qlik.openApp('2000e59e-b4db-4558-a5a4-ec9b2e227c4f', config);
var appSr 			= qlik.openApp('86387c4e-58f6-4a2f-9baa-201d189a1058', config);

console.log(appFehler);
console.log(appIncidents);
console.log(appSr);

//get objects -- inserted here --
appFehler.getObject('objFehlerTabVorkommen','BMgfpd', {noSelections: true, noInteraction: false});

appIncidents.getObject('objKitaBalkenOffeneIncidents','EVYmNf', {noSelections: true, noInteraction: false});
appIncidents.getObject('objKitaKpiOffeneIncidents','hMAXGM', {noSelections: true, noInteraction: false});
appIncidents.getObject('objKitaKpiAvgTageAbschlussIncidents','wDYTh', {noSelections: true, noInteraction: false});
appSr.getObject('objKitaBalkenOffeneSr','EVYmNf', {noSelections: true, noInteraction: false});
appSr.getObject('objKitaKpiOffeneSr','hMAXGM', {noSelections: true, noInteraction: false});
appSr.getObject('objKitaKpiAvgTageAbschlussSr','SDmEhS', {noSelections: true, noInteraction: false});
} );&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 19 Sep 2019 13:20:55 GMT</pubDate>
    <dc:creator>schmidtj</dc:creator>
    <dc:date>2019-09-19T13:20:55Z</dc:date>
    <item>
      <title>Show App Object in external webpage | Trouble with Windows authentication</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Show-App-Object-in-external-webpage-Trouble-with-Windows/m-p/1625311#M11338</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;my goal is the following:&lt;BR /&gt;I want to show certain visializations of my Qlik Apps within a webpage of an webserver.&lt;/P&gt;&lt;P&gt;I followed the following little tutorial here:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/June2019/Subsystems/Mashups/Content/Sense_Mashups/mashups-getting-started.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/June2019/Subsystems/Mashups/Content/Sense_Mashups/mashups-getting-started.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After dealing successfully with the CORS issue i now get an error when i open my webpage with my custom extension:&lt;/P&gt;&lt;P&gt;'&lt;EM&gt;&lt;STRONG&gt;GET https://my-qlik-server/internal_windows_authentication/?targetId=74f32e45-c466-4eef-8219-61e9c98149c7 401 (Unauthorized)&lt;/STRONG&gt;&lt;/EM&gt;'&lt;/P&gt;&lt;P&gt;I think i am lacking basis knowlegde here how the authentication in Qlik works.&lt;BR /&gt;We use the windows authentication on our server.&lt;BR /&gt;So when i open a Qlik app i am automatically authenticated with my windows user.&lt;BR /&gt;I was actually hoping, that this would word the same when the js-code is trying to fetch the Qlik app object.&lt;/P&gt;&lt;P&gt;Can somebody enlighten my a bit and maybe point me to a tutorial/documentation which is dealing with this topic?&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;BR /&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 13:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Show-App-Object-in-external-webpage-Trouble-with-Windows/m-p/1625311#M11338</guid>
      <dc:creator>schmidtj</dc:creator>
      <dc:date>2019-09-18T13:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show App Object in external webpage | Trouble with Windows authentication</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Show-App-Object-in-external-webpage-Trouble-with-Windows/m-p/1625375#M11341</link>
      <description>&lt;P&gt;What u need to check is in the developer tools what happens before the 401&lt;BR /&gt;u probaby will see a 302 statuses, can u take screenshot of that ?&lt;BR /&gt;&lt;BR /&gt;If u use June 2019 version, u better install patch 1, we had very similar issue that patch 1 solved&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 15:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Show-App-Object-in-external-webpage-Trouble-with-Windows/m-p/1625375#M11341</guid>
      <dc:creator>oz_moyal</dc:creator>
      <dc:date>2019-09-18T15:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Show App Object in external webpage | Trouble with Windows authentication</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Show-App-Object-in-external-webpage-Trouble-with-Windows/m-p/1625757#M11352</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i dont see a 302 status no.&lt;/P&gt;&lt;P&gt;We are using June 2019 and i will schedule the installation of the patch and i will update this post accordingly, thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to get going with my project i used a different approach now und build a mashup with the DevTools and&lt;/P&gt;&lt;P&gt;included it as an iframe to avoid the authentication issue. I have a differnt problem now.&lt;/P&gt;&lt;P&gt;I am loading 3 apps and 7 app objects from these apps and display them in my mashup.&lt;/P&gt;&lt;P&gt;The problem ist now, that theay are loaded quite inconsistently, even within the DevTools.&lt;/P&gt;&lt;P&gt;Basically the objects are never loaded completely, 1 to 4 object always stay blank without any pattern.&lt;/P&gt;&lt;P&gt;When i reduce the number ob objects it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best practice to load those app objects? I did it according to the documentation, see here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;...

require( ["js/qlik"], function ( qlik ) {
qlik.setOnError( function ( error ) {
	alert( error.message );
} );


//open apps -- inserted here --
var appFehler 		= qlik.openApp('95b86fbc-fe88-427a-9ce2-b653a238fcd1', config);
var appIncidents 	= qlik.openApp('2000e59e-b4db-4558-a5a4-ec9b2e227c4f', config);
var appSr 			= qlik.openApp('86387c4e-58f6-4a2f-9baa-201d189a1058', config);

console.log(appFehler);
console.log(appIncidents);
console.log(appSr);

//get objects -- inserted here --
appFehler.getObject('objFehlerTabVorkommen','BMgfpd', {noSelections: true, noInteraction: false});

appIncidents.getObject('objKitaBalkenOffeneIncidents','EVYmNf', {noSelections: true, noInteraction: false});
appIncidents.getObject('objKitaKpiOffeneIncidents','hMAXGM', {noSelections: true, noInteraction: false});
appIncidents.getObject('objKitaKpiAvgTageAbschlussIncidents','wDYTh', {noSelections: true, noInteraction: false});
appSr.getObject('objKitaBalkenOffeneSr','EVYmNf', {noSelections: true, noInteraction: false});
appSr.getObject('objKitaKpiOffeneSr','hMAXGM', {noSelections: true, noInteraction: false});
appSr.getObject('objKitaKpiAvgTageAbschlussSr','SDmEhS', {noSelections: true, noInteraction: false});
} );&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 19 Sep 2019 13:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Show-App-Object-in-external-webpage-Trouble-with-Windows/m-p/1625757#M11352</guid>
      <dc:creator>schmidtj</dc:creator>
      <dc:date>2019-09-19T13:20:55Z</dc:date>
    </item>
  </channel>
</rss>

