Hi friends,
Actually I am trying to use 5 textbox to set some values, this is working fine in the window properties, but I can't read it in javascript.
The definition.xml looks as this:
<?xml version="1.0" encoding="utf-8"?>
<ExtensionObject Label="Geo Map Mexico R1.0" Description="Geographical Map Mexico DIQ. R1.0" PageHeight="100000">
<Dimension Initial="" />
<Measurement Initial="" />
<Text Label="Color Ok" Type="color" Initial="" Expression="#439400"/>
<Text Label="Color +-" Type="color" Initial="" Expression="#fff"/>
<Text Label="Color mal" Type="color" Initial="" Expression="#d4d4d4"/>
<Text Label="Fx Ok" Initial="" Expression="" />
<Text Label="Fx +-" Initial="" Expression="" />
<Text Label="Fx mal" Initial="" Expression="" />
<Initiate Name="Chart.Title" value="Geographic Heat Map Mex" />
<Initiate Name="Caption.Text" Value="Geographic Heat Map Mex" />
<Initiate Name="Chart.BgColor.ColorHex" value="#FFF" />
</ExtensionObject>
In Script.js
When I try to get the 4th text, I get an undefined error, this the line code that I am using
alert(this.Layout.Text3);
I'll appreciate any comments.
Thanks in advance.
Karim