<?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: Get current selections in Nebula.js in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074057#M18586</link>
    <description>&lt;P&gt;Thank you for the fast response, I will try this solution.&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 20:00:36 GMT</pubDate>
    <dc:creator>sanekagr2</dc:creator>
    <dc:date>2023-05-22T20:00:36Z</dc:date>
    <item>
      <title>Get current selections in Nebula.js</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2073974#M18582</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;How to get current selections in real time in Nebula.js, in Capability API I can use app.getList('SelectionObject',callback). Is there some alternative in Nebula?&lt;/P&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="AddMessageTags lia-message-tags lia-component-message-view-widget-tags"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 May 2023 16:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2073974#M18582</guid>
      <dc:creator>sanekagr2</dc:creator>
      <dc:date>2023-05-22T16:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get current selections in Nebula.js</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074013#M18584</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216828"&gt;@sanekagr2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Capability API is a bit more robust than Nebula. Nebula is only used for embedding Qlik objects. For everything that is outside of actually embedding (session management, hyperCubes, lists, passing selections, evaluating expressions etc.), you will need to directly interact with the &lt;A href="https://qlik.dev/apis/json-rpc/qix#docs" target="_self"&gt;QIX&lt;/A&gt; engine, via&amp;nbsp;&lt;A href="https://github.com/qlik-oss/enigma.js/blob/master/README.md" target="_self"&gt;Enigma.js&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;To get currentSelections the "Engima" way, you'll need to use the "&lt;A href="https://qlik.dev/apis/json-rpc/qix/doc#%23%2Fentries%2FDoc%2Fentries%2FCreateSessionObject" target="_self"&gt;CreateSessionObject&lt;/A&gt;" method and pass the "&lt;A href="https://qlik.dev/apis/json-rpc/qix/schemas#%23%2Fdefinitions%2Fschemas%2Fentries%2FSelectionObject" target="_self"&gt;qSelectionObjectDef&lt;/A&gt;" object definition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const selectionObj = await enigmaApp.createSessionObject({
 "params": [
      {
        "qInfo": {
          "qType": "CurrentSelection"
        },
        "qSelectionObjectDef": {}
      }
 ]
});
const selections = await selectionObj.getLayout();
console.log(selections);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 12:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074013#M18584</guid>
      <dc:creator>rankassovitz</dc:creator>
      <dc:date>2023-05-23T12:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get current selections in Nebula.js</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074014#M18585</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1709"&gt;@rankassovitz&lt;/a&gt;&amp;nbsp;suggested the correct approach. This is the way.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 17:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074014#M18585</guid>
      <dc:creator>Jeffrey_Goldberg</dc:creator>
      <dc:date>2023-05-22T17:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get current selections in Nebula.js</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074057#M18586</link>
      <description>&lt;P&gt;Thank you for the fast response, I will try this solution.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 20:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074057#M18586</guid>
      <dc:creator>sanekagr2</dc:creator>
      <dc:date>2023-05-22T20:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get current selections in Nebula.js</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074272#M18588</link>
      <description>&lt;P&gt;Maybe you know some example of using Enigma.js in Angular application?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 09:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074272#M18588</guid>
      <dc:creator>sanekagr2</dc:creator>
      <dc:date>2023-05-23T09:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get current selections in Nebula.js</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074541#M18589</link>
      <description>&lt;P&gt;Here's a good open source Angular.io example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/yianni-ververis/nebula-angular" target="_blank"&gt;https://github.com/yianni-ververis/nebula-angular&lt;/A&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;- look at &lt;A href="https://github.com/yianni-ververis/nebula-angular/blob/main/src/app/globals.ts" target="_self"&gt;globals.ts,&amp;nbsp;&lt;/A&gt;you'll see how he authenticated (to a saas tenant) and got his enigma app (doc).&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;For more, framework agnostic, enigma.js examples check here:&lt;BR /&gt;&lt;A href="https://github.com/qlik-oss/enigma.js/tree/master/examples" target="_blank"&gt;https://github.com/qlik-oss/enigma.js/tree/master/examples&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 18:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2074541#M18589</guid>
      <dc:creator>rankassovitz</dc:creator>
      <dc:date>2023-05-23T18:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get current selections in Nebula.js</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2075892#M18598</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; Your solution worked:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;LI-CODE lang="javascript"&gt;    const selectionObj = await app.createSessionObject({
      "qInfo": {
        "qType": "CurrentSelection"
      },
      "qSelectionObjectDef": {}

    }).then((model) =&amp;gt; model);

    selectionObj.getLayout().then((layout) =&amp;gt; {
      console.log('selectionObj', layout);
    });&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Do you know the way to get the real time selection change&amp;nbsp; indication in Enigma?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 06:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2075892#M18598</guid>
      <dc:creator>sanekagr2</dc:creator>
      <dc:date>2023-05-25T06:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get current selections in Nebula.js</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2158347#M19678</link>
      <description>&lt;P&gt;Thanks for the solution, i have been looking for this!&lt;/P&gt;
&lt;P&gt;But reading the documentation of the enigma-api:&amp;nbsp;&lt;A href="https://qlik.dev/apis/json-rpc/qix/doc/#%23%2Fentries%2FDoc%2Fentries%2FCreateSessionObject" target="_blank"&gt;Qix JSON-RPC | Qlik Developer Portal&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is hard to understand it is possible to do this, is there anywhere one may find information about what types "qType" can be in this case, and that :&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-javascript"&gt;&lt;CODE&gt;        "qSelectionObjectDef": {}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;is a viable input to this method is also unclear.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 15:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-current-selections-in-Nebula-js/m-p/2158347#M19678</guid>
      <dc:creator>Axel_K</dc:creator>
      <dc:date>2024-01-04T15:46:05Z</dc:date>
    </item>
  </channel>
</rss>

