Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 johann_bauer
		
			johann_bauer
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Guys im facing a little Problem with my own Extension.
Im trying to add a textarea to my measures. Like in this picture

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

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.

How do I access the value entered in the textarea?
KR
Johann
 
					
				
		
 ErikWetterberg
		
			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
