Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
johann_bauer
Not applicable

Access Value entered in custom measure Field

Hi Guys im facing a little Problem with my own Extension.

Im trying to add a textarea to my measures. Like in this picture

accordion.png

I created this field, but im not able to reference to the value entered in this textbox.

Code.png

Im just trying to reference the Value entered in the textarea in my paint function.

I tried console.log(layout.MyTextarea) but i always get undefined.

paint.png

How do I access the value entered in the textarea?

KR

Johann

1 Reply
erik_wetterberg
Not applicable

Re: Access Value entered in custom measure Field

Hi Johann,

There are two parts to this:

1) when you add properties to measures (and dimensions) you need to give a ref value that starts with 'qDef.' to make sure it ends up in the right place.

2) You will then find the result in the layout under qMeasureInfo[0...]

Hope this helps

Erik

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