Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
getParameterDisplayText
eddy00
Hi, I have a Parameter as ListBox with Display Text. But why it is not possible to do something like this in function beforeGeneration :<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
function beforeGeneration( chart, icsc )
{
cdt = icsc.getExternalContext().getScriptable().getParameterDisplayText("myParm"); //ERROR
}
</pre>
<br />
<br />
To get the value works fine:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
function beforeGeneration( chart, icsc )
{
cdt = icsc.getExternalContext().getScriptable().getParameterValue("myParm"); //OK
}
</pre>
Find more posts tagged with
Comments
thuston
It should be possible, unless you are using an iServer.
The iServer only passes the selected value, the display value is always null.
The call to get the Display value has no automatic lookup and compare it just returns the selected parameter (with NULL display).