Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
johann_bauer
Partner - Contributor III
Partner - Contributor III

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
ErikWetterberg

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