Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Kdober
Partner - Contributor III
Partner - Contributor III

Nebula.js - Help to undertand the basics (eg. useApp)

Hello,

I have made a few simple extensions in the past, and now I want to start using the new Nebula/Enigma frameworks for them.

However, I'm struggling to find enough information and examples to understand how.

For example, I'm using 'useApp' from Nebula and trying to run the method 'getObjects' on it

const app = useApp();
app.getObjects({ qOptionsVar }).then(infos => {
console.log(infos);
});

On the documentation, the qOptionsVar is shown as an example like (help link)

 

{
  "qOptions": {
    "qTypes": [
      "value"
    ],
    "qIncludeSessionObjects": true,
    "qData": {}
  }
}

 

However, I cannot find any documentation that explains the different values or options to fill in this in order to control what is returned by the method.

Where I can find this info? For example, I would like to retrieve all the Master items on the app.

Any help would be appreciated. Thanks 🙂

Cristian

Cristian Dorbesi
Labels (2)
2 Replies
Frank_S
Support
Support

Are you trying to build a custom theme? a visualization?

Here are a few links that may guide you in the right direction

 

kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Kdober
Partner - Contributor III
Partner - Contributor III
Author

Hi Frank,

I'm trying to build an extension. Similar to a container to display a few master items.

The main issue I found is that I don't find all the documentation I need. For example, as I said on the previous example.

For the App.getObjects, it needs a parameter like the one mentioned, but I haven't found any documentation about what are the supported types/values for the parameter "qTypes".

For example, I found by just trying that 'sheets' is a valid type, or on the next link, there are some others given by other users.

https://community.qlik.com/t5/Integration-Extension-APIs/Get-all-AppObjects-and-ID-s/m-p/1563796

However, there is NO accessible documentation about what are the possible types supported. This is not the only case where this happens....

 

Qlik dev: No info about the valid values.

https://qlik.dev/apis/json-rpc/qix/doc#%23%2Fentries%2FDoc%2Fentries%2FGetObjects

https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/EngineJSONAPI/Content/models-nxgetobj...

https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/EngineJSONAPI/Content/models-nxgetobj...

 

Maybe I'm looking at the wrong place. Could you please indicate where I can find the information?

Thanks

 

Cristian Dorbesi