Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

maxim1500
Contributor

qlik-visual component and master items

Hi,

Is it possible to reference a master item from a qlik-visual component instead of hard-coding the measure formula in a mashup? I would like to use the Qlik application to define the measures and dimensions, and then refer to these master items as parameters in my qlik-visual component.

Thank you!

3 Replies
erik_wetterberg
Honored Contributor

Re: qlik-visual component and master items

Hi,

Yes it is, but you need the id from the measure or dimension. Specify that as qLibraryId. If you are refering to a measure, you also need to add qType:"measure", otherwise the api will assume it's a dimension.

For the visualization API this is described here:

The Visualization API

qlik-visual simply wraps the visualization API, so the same stuff works, only you have to stringify all javascript objects.

Hope this helps

Erik

Erik Wetterberg
https://extendingqlik.upper88.com/
maxim1500
Contributor

Re: qlik-visual component and master items

Thank you for your answer! Could you tell me how to get the libraryid for a metric? It doesn't appear in the single page...

nvrphanikumar
New Contributor III

Re: qlik-visual component and master items

I have the same question. Is there a way to find out qLibraryId of a Master Measure or Dimension ?

Community Browser