<?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: How to call .NET SDK call on GetLayout() with delta = true in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-call-NET-SDK-call-on-GetLayout-with-delta-true/m-p/1826288#M15353</link>
    <description>&lt;P&gt;The SDK does not have native support for handling deltas, but it is possible to make the calls based on that request constructor you linked to. The trick is to manually create the Request instance and use the generic SendAsync to send it to the engine like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var req = new Request(genericObject.Handle, "GetLayout", true, null);
var rsp = app.Session.SendAsync&amp;lt;Qlik.Sense.JsonRpc.Response&amp;gt;(req).Result;&lt;/LI-CODE&gt;&lt;P&gt;The creates and sends a request with the "delta" argument set to "true". Dealing with the response is not straight forward though, but you can treat it like a JArray if you do like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var deltas = (JArray) rsp.Result("qLayout", t =&amp;gt; t);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Aug 2021 09:21:48 GMT</pubDate>
    <dc:creator>Øystein_Kolsrud</dc:creator>
    <dc:date>2021-08-03T09:21:48Z</dc:date>
    <item>
      <title>How to call .NET SDK call on GetLayout() with delta = true</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-call-NET-SDK-call-on-GetLayout-with-delta-true/m-p/1822313#M15245</link>
      <description>&lt;P&gt;How do you do this:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/WorkingWithAppsAndVisualizations/RenderLayout/get-delta-layout.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/WorkingWithAppsAndVisualizations/RenderLayout/get-delta-layout.htm&lt;/A&gt;&amp;nbsp;but with the .NET SDK instead?&lt;/P&gt;&lt;P&gt;It says "&lt;SPAN&gt;You need to set the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Code"&gt;delta&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;member to true in the request object". But how do I do this with .NET?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var genericObject = app.GetObject&amp;lt;GenericObject&amp;gt;(cell.Name);
genericObject.GetLayout();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 09:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-call-NET-SDK-call-on-GetLayout-with-delta-true/m-p/1822313#M15245</guid>
      <dc:creator>ludmillab</dc:creator>
      <dc:date>2021-07-15T09:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to call .NET SDK call on GetLayout() with delta = true</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-call-NET-SDK-call-on-GetLayout-with-delta-true/m-p/1822322#M15247</link>
      <description>&lt;P&gt;Ok, I found this:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Request.-ctor.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Request.-ctor.htm&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Just need to figure ouit how to use it in the method call in .NET.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 09:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-call-NET-SDK-call-on-GetLayout-with-delta-true/m-p/1822322#M15247</guid>
      <dc:creator>ludmillab</dc:creator>
      <dc:date>2021-07-15T09:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to call .NET SDK call on GetLayout() with delta = true</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-call-NET-SDK-call-on-GetLayout-with-delta-true/m-p/1826288#M15353</link>
      <description>&lt;P&gt;The SDK does not have native support for handling deltas, but it is possible to make the calls based on that request constructor you linked to. The trick is to manually create the Request instance and use the generic SendAsync to send it to the engine like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var req = new Request(genericObject.Handle, "GetLayout", true, null);
var rsp = app.Session.SendAsync&amp;lt;Qlik.Sense.JsonRpc.Response&amp;gt;(req).Result;&lt;/LI-CODE&gt;&lt;P&gt;The creates and sends a request with the "delta" argument set to "true". Dealing with the response is not straight forward though, but you can treat it like a JArray if you do like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var deltas = (JArray) rsp.Result("qLayout", t =&amp;gt; t);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 09:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-call-NET-SDK-call-on-GetLayout-with-delta-true/m-p/1826288#M15353</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2021-08-03T09:21:48Z</dc:date>
    </item>
  </channel>
</rss>

