Skip to main content
Announcements
YOUR OPINION MATTERS! Please take the Qlik Experience survey you received via email. Survey ends June 14.
cancel
Showing results for 
Search instead for 
Did you mean: 
sama007
Contributor
Contributor

How can I display the definitions of all measurements/dimensions with api engine's getLayout?

Hello,

How can I display the definitions of all measurements/dimensions with api engine's getLayout?

Isn't there a parameter that can be passed to getLayout?

And do you have a list of possible parameters for getLayout?

Labels (2)
1 Reply
Chirantha
Support
Support

Even though getLayout() is a method in the Qlik Engine API that is used to retrieve the layout of a generic object such as an app or a sheet, this function does not accept any parameters. It just returns the layout of the object as it is currently defined.

To get definitions of measures and dimensions, you would need to traverse the layout object that is returned by getLayout() using qHyperCubeDef

Please look more into qHyperCubeDef here 
https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/Extensions/Content/Sense_Extensions/O...