<?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: QSE: GetSetAnalysis working but empty ? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546612#M22830</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28877"&gt;@hugo_andrade&lt;/a&gt;&amp;nbsp;I just tried with an empty first param, same issue &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2026 08:50:37 GMT</pubDate>
    <dc:creator>dvasseur</dc:creator>
    <dc:date>2026-04-10T08:50:37Z</dc:date>
    <item>
      <title>QSE: GetSetAnalysis working but empty ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2545974#M22820</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I'm using the QSE JSON API to retrieve the bookmarks list of an app (GetBookmarks) and then I'm calling GetSetAnalysis on each bookmark to retrieve the selected values for each field. The GetSetAnalysis call itself is working, but the returned list is always empty. Checking the same app using Chrome dev tools and the websocket messages, the same call with the same params is returning the right values =&amp;gt; I'm probably missing something, but what ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GetBookmarks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;call:&lt;BR /&gt;{"handle": 1, "method": "GetBookmarks", "params": {"qOptions": {"qTypes": ["bookmark"], "qData": {"title": "/qMetaDef/title", "sheetId": "/sheetId", "selectionFields": "/selectionFields", "creationDate": "/creationDate", "approved": "/approved", "published": "/published"}}}, "outKey": -1, "id": 2}&lt;/P&gt;&lt;P&gt;response (OK):&lt;BR /&gt;"jsonrpc":"2.0","id":2,"result":{"qList":[{"qInfo":{"qId":"ffff1727-97e8-440c-bd09-b9fa79af382e","qType":"bookmark"},"qMeta":{"title": ...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GetSetAnalysis&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;call:&lt;BR /&gt;{"handle": 1, "method": "GetSetAnalysis", "params": ["$", "ffff1727-97e8-440c-bd09-b9fa79af382e"], "id": 3}&lt;/P&gt;&lt;P&gt;response =&amp;gt; qSetExpression shouldn't be empty&lt;BR /&gt;{"jsonrpc":"2.0","id":3,"result":{"qSetExpression":""}}&lt;/P&gt;&lt;P&gt;call/response as extracted from chrome dev tools (qSetExpression is not empty):&lt;BR /&gt;{"delta":true,"handle":1,"method":"GetSetAnalysis","params":["$","ffff1727-97e8-440c-bd09-b9fa79af382e"],"id":78,"jsonrpc":"2.0"}&lt;BR /&gt;{"jsonrpc":"2.0","id":78,"delta":true,"result":{"qSetExpression":[{"op":"add","path":"/","value":"&amp;lt;appName={'___a'}&amp;gt;"}]}}&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 10:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2545974#M22820</guid>
      <dc:creator>dvasseur</dc:creator>
      <dc:date>2026-04-01T10:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: QSE: GetSetAnalysis working but empty ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546148#M22821</link>
      <description>&lt;P class=""&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22166"&gt;@dvasseur&lt;/a&gt;,&lt;/P&gt;&lt;P class=""&gt;I think the key detail is that the Chrome request is using delta mode:&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;{"delta":true,"handle":1,"method":"GetSetAnalysis", ...}&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;So the response you see there is not the final &lt;SPAN class=""&gt;qSetExpression&lt;/SPAN&gt; string. It is a delta patch:&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;"qSetExpression"&lt;SPAN class=""&gt;:[{&lt;/SPAN&gt;"op"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;"add"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;"path"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;"/"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;"value"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;"&amp;lt;appName={'___a'}&amp;gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;}]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;That means the effective value is actually:&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&amp;lt;appName={'___a'}&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;------&lt;/P&gt;&lt;P class=""&gt;So the first thing I would check is whether your client is handling delta responses correctly.&lt;/P&gt;&lt;P class=""&gt;If you use &lt;SPAN class=""&gt;delta: true&lt;/SPAN&gt;, you need to apply the patch operations before reading the value. If you want the plain value directly, test the same call without delta mode and make sure nothing else in your websocket client is forcing delta behavior.&lt;/P&gt;&lt;P class=""&gt;Hope this helps. Please give it a like, mark it as Helpful or Solution if that was the case.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Apr 2026 17:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546148#M22821</guid>
      <dc:creator>hugo_andrade</dc:creator>
      <dc:date>2026-04-05T17:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: QSE: GetSetAnalysis working but empty ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546284#M22824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28877"&gt;@hugo_andrade&lt;/a&gt;&lt;/P&gt;&lt;P&gt;The websocket calls are just "OpenDoc" =&amp;gt; "GetBookmarks" =&amp;gt; "GetSetAnalysis" so no delta involved.&lt;/P&gt;&lt;P&gt;I've added "delta: True" to the call but same issue, response is empty &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 14:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546284#M22824</guid>
      <dc:creator>dvasseur</dc:creator>
      <dc:date>2026-04-07T14:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: QSE: GetSetAnalysis working but empty ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546311#M22825</link>
      <description>&lt;P class=""&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22166"&gt;@dvasseur&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P class=""&gt;I see.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I think the main issue is the first parameter.&lt;/P&gt;&lt;P class=""&gt;For &lt;SPAN class=""&gt;GetSetAnalysis(qStateName, qBookmarkId)&lt;/SPAN&gt;, the first argument is the &lt;SPAN class=""&gt;&lt;STRONG&gt;state name&lt;/STRONG&gt;&lt;/SPAN&gt;. For the default state, Qlik says it should be left empty.&lt;/P&gt;&lt;P class=""&gt;Try&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;SPAN class=""&gt;"handle"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"method"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"GetSetAnalysis"&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"params"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:[&lt;/SPAN&gt;""&lt;SPAN class=""&gt;,&lt;/SPAN&gt;"ffff1727-97e8-440c-bd09-b9fa79af382e"&lt;SPAN class=""&gt;],&lt;/SPAN&gt;&lt;SPAN class=""&gt;"id"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;3&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;$&lt;/SPAN&gt; is the default identifier in set analysis syntax, but in this API call the method expects a state name, and for the default state that should be an empty string.&lt;/P&gt;&lt;P class=""&gt;That's what I found here:&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/service-doc-getsetanalysis.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/service-doc-getsetanalysis.htm&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;qStateName&lt;/P&gt;&lt;P&gt;Optional. The name of the state to get set analysis expression for. If left empty, the default state will be retrieved.&lt;/P&gt;&lt;P&gt;String&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 17:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546311#M22825</guid>
      <dc:creator>hugo_andrade</dc:creator>
      <dc:date>2026-04-07T17:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: QSE: GetSetAnalysis working but empty ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546612#M22830</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28877"&gt;@hugo_andrade&lt;/a&gt;&amp;nbsp;I just tried with an empty first param, same issue &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 08:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QSE-GetSetAnalysis-working-but-empty/m-p/2546612#M22830</guid>
      <dc:creator>dvasseur</dc:creator>
      <dc:date>2026-04-10T08:50:37Z</dc:date>
    </item>
  </channel>
</rss>

