<?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: .net sdk GetVariableList suspendedLayoutException in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1655781#M11971</link>
    <description>&lt;P&gt;Is that really all the code? As far as I know, the only way to trigger that exception in combination with this method:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/November2019/APIs/Net+SDK/html/M_Qlik_Engine_PropertyContainer_SuspendLayout.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/November2019/APIs/Net+SDK/html/M_Qlik_Engine_PropertyContainer_SuspendLayout.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Either directly or through a use clause like this:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;using(myObj.SuspendedLayout)
{
    myObj.Properties.Prop = x;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2019 06:49:35 GMT</pubDate>
    <dc:creator>Øystein_Kolsrud</dc:creator>
    <dc:date>2019-12-10T06:49:35Z</dc:date>
    <item>
      <title>.net sdk GetVariableList suspendedLayoutException</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1655506#M11965</link>
      <description>&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to use the .net sdk to list the variables of a particular App.&lt;/P&gt;&lt;P&gt;I have no problem in connecting and getting the app reference, but when I use the GetVariableList() I get a Qlik.Engine.SuspendedLayoutException.&lt;/P&gt;&lt;P&gt;How can I disable or fix SuspendedLayout?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need variableName, variable expression and description.&lt;/P&gt;&lt;P&gt;This is my very simple code, what's wrong?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 606px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25174iCAB0CBA2FA15FAA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1655506#M11965</guid>
      <dc:creator>DiegoLotti</dc:creator>
      <dc:date>2019-12-09T14:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: .net sdk GetVariableList suspendedLayoutException</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1655781#M11971</link>
      <description>&lt;P&gt;Is that really all the code? As far as I know, the only way to trigger that exception in combination with this method:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/November2019/APIs/Net+SDK/html/M_Qlik_Engine_PropertyContainer_SuspendLayout.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/November2019/APIs/Net+SDK/html/M_Qlik_Engine_PropertyContainer_SuspendLayout.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Either directly or through a use clause like this:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;using(myObj.SuspendedLayout)
{
    myObj.Properties.Prop = x;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:49:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1655781#M11971</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-12-10T06:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: .net sdk GetVariableList suspendedLayoutException</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1657432#M11992</link>
      <description>&lt;P&gt;That's quite interesting. I did some variable inspection in visual studio debugger, trying to find the right properties and I some way I turned on suspendedLayout.&lt;/P&gt;&lt;P&gt;But for sure I did not call suspendLayout method in code.&lt;/P&gt;&lt;P&gt;The app itself stopped working and I got a "Qlik internal engine error" if I tried to oper the script editor.&lt;/P&gt;&lt;P&gt;I fixed it by duplicating the app and now the code works perfectly.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 07:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1657432#M11992</guid>
      <dc:creator>DiegoLotti</dc:creator>
      <dc:date>2019-12-13T07:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: .net sdk GetVariableList suspendedLayoutException</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1657435#M11993</link>
      <description>&lt;P&gt;Glad you were able to make progress! Though you should not get "Internal engine error" thrown at you. Must be some corner case the engine is not handling well.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 08:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/net-sdk-GetVariableList-suspendedLayoutException/m-p/1657435#M11993</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-12-13T08:08:30Z</dc:date>
    </item>
  </channel>
</rss>

