Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
JoelStransky
Contributor III
Contributor III

How to call Dimension methods in a nebula/stardust extension

I'm writing an extension for creating button groups which have the same set of action options as the native button chart. I'm hung up on cyclic dimensions. I can get a list of existing dimensions using

app.getList("DimensionList", (items) => {})

 which will allow me to list them in the object properties but I don't know how to gain a reference to the actual dimension object so that the rendered button can call dimension methods on it. The method I'm after is StepCycle but any help on getting references is appreciated.
Also, the backendAPI does not seem to be accessible at all via Stardust's hooks. Extension code samples using the paint() approach show that it is a property of app. But in Stardust's component() pattern it's not.
Any clues are extremely helpful. Thanks!

Labels (2)
1 Reply
JoelStransky
Contributor III
Contributor III
Author

Looks like I found the action motherload in the sn-action-button source so I should be good once I implement it.
https://github.com/qlik-oss/sn-action-button/blob/ff780992bb08352eea839d7030d10e5a6aadafb4/src/utils...