<?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 How to use .NET SDK to check if an App is published while traversing apps in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-NET-SDK-to-check-if-an-App-is-published-while/m-p/1575578#M10441</link>
    <description>&lt;P&gt;I am using the .NET SDK to traverse through all the apps in a Qlik Sense Enterprise account. I have been able to successfully traverse through all apps, but I am having difficulty checking if an app is published or not.&lt;BR /&gt;&lt;BR /&gt;I believe the solution will be similar to getting the stream name of an app (seen &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Integration/Gettting-the-stream-an-app-is-published-to-net-SDK/m-p/1196606?advanced=false&amp;amp;collapse_discussion=true&amp;amp;filter=location&amp;amp;location=forum-board:qlik-sense-integration-extension-api&amp;amp;q=.net%20sdk%20app%20is%20published&amp;amp;search_type=thread" target="_self"&gt;here&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;My base solution looks something like the following:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 12.02.12 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11268i292649F0AE5CA44D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 12.02.12 PM.png" alt="Screen Shot 2019-05-01 at 12.02.12 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My goal is to only traverse the app if it is published. I can see, using Visual Studio inspecting tools, that the data is there, I just need help extracting it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Viewing the data in VS2017:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(1) Get the layout&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 12.04.16 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11269i30AA914D503EA934/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2019-05-01 at 12.04.16 PM.png" alt="Screen Shot 2019-05-01 at 12.04.16 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(2) Look at "Non-Public members" -&amp;gt; "State"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 12.08.01 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11270iBE7F85BD4DA9CEB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 12.08.01 PM.png" alt="Screen Shot 2019-05-01 at 12.08.01 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(3) Expanding "State" you see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 11.51.05 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11271i913170399BB517BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 11.51.05 AM.png" alt="Screen Shot 2019-05-01 at 11.51.05 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(4) Expanding "Structure" you get all the items which include "published: bool"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 12.10.01 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11272i36BE7B15A2E09D00/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 12.10.01 PM.png" alt="Screen Shot 2019-05-01 at 12.10.01 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;My main question is: how do I use "AbstractureStructure" to get the "published" boolean from the app object?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:57:02 GMT</pubDate>
    <dc:creator>austingriff</dc:creator>
    <dc:date>2024-11-16T05:57:02Z</dc:date>
    <item>
      <title>How to use .NET SDK to check if an App is published while traversing apps</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-NET-SDK-to-check-if-an-App-is-published-while/m-p/1575578#M10441</link>
      <description>&lt;P&gt;I am using the .NET SDK to traverse through all the apps in a Qlik Sense Enterprise account. I have been able to successfully traverse through all apps, but I am having difficulty checking if an app is published or not.&lt;BR /&gt;&lt;BR /&gt;I believe the solution will be similar to getting the stream name of an app (seen &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Integration/Gettting-the-stream-an-app-is-published-to-net-SDK/m-p/1196606?advanced=false&amp;amp;collapse_discussion=true&amp;amp;filter=location&amp;amp;location=forum-board:qlik-sense-integration-extension-api&amp;amp;q=.net%20sdk%20app%20is%20published&amp;amp;search_type=thread" target="_self"&gt;here&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;My base solution looks something like the following:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 12.02.12 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11268i292649F0AE5CA44D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 12.02.12 PM.png" alt="Screen Shot 2019-05-01 at 12.02.12 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My goal is to only traverse the app if it is published. I can see, using Visual Studio inspecting tools, that the data is there, I just need help extracting it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Viewing the data in VS2017:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(1) Get the layout&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 12.04.16 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11269i30AA914D503EA934/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2019-05-01 at 12.04.16 PM.png" alt="Screen Shot 2019-05-01 at 12.04.16 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(2) Look at "Non-Public members" -&amp;gt; "State"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 12.08.01 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11270iBE7F85BD4DA9CEB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 12.08.01 PM.png" alt="Screen Shot 2019-05-01 at 12.08.01 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(3) Expanding "State" you see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 11.51.05 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11271i913170399BB517BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 11.51.05 AM.png" alt="Screen Shot 2019-05-01 at 11.51.05 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(4) Expanding "Structure" you get all the items which include "published: bool"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 12.10.01 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11272i36BE7B15A2E09D00/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 12.10.01 PM.png" alt="Screen Shot 2019-05-01 at 12.10.01 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;My main question is: how do I use "AbstractureStructure" to get the "published" boolean from the app object?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-NET-SDK-to-check-if-an-App-is-published-while/m-p/1575578#M10441</guid>
      <dc:creator>austingriff</dc:creator>
      <dc:date>2024-11-16T05:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use .NET SDK to check if an App is published while traversing apps</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-NET-SDK-to-check-if-an-App-is-published-while/m-p/1575625#M10443</link>
      <description>&lt;P&gt;It turns out to be pretty easy...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-01 at 2.38.26 PM.png" style="width: 838px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11277i90387784B0D7F722/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-01 at 2.38.26 PM.png" alt="Screen Shot 2019-05-01 at 2.38.26 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For Copying:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;using&lt;/SPAN&gt; (&lt;SPAN class="s1"&gt;var&lt;/SPAN&gt; app = location.App(appIdentifier))&lt;/P&gt;&lt;P class="p1"&gt;{&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;var&lt;/SPAN&gt; appLayout = app.GetAppLayout();&lt;/P&gt;&lt;P class="p1"&gt;Boolean isPublished = appLayout.Get&amp;lt;Boolean&amp;gt;(&lt;SPAN class="s2"&gt;"published"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p1"&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 19:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-NET-SDK-to-check-if-an-App-is-published-while/m-p/1575625#M10443</guid>
      <dc:creator>austingriff</dc:creator>
      <dc:date>2019-05-01T19:39:58Z</dc:date>
    </item>
  </channel>
</rss>

