Skip to Content
Former Member
Apr 22, 2004 at 08:16 PM

How to retrieve variable value description into web template?



I have a need to display selected variable description not selected variable key value in the web template. any ideas?

let'z say I've an infoobject material with its values and descriptions as follows

0material Description

1 Material1

2 Material2

3 Material3

In my web tempalte, I've a variable built on Material. So, if i select material 2 in the variable screen, I should get results something like this


Material2 --> this Header should b the selected variable description.


0Material KeyFigure

2 KF1

2 KF2

2 KF3

I am aware that we need to use javaScript. But, I am just wondering How do i retrieve selected variable description into JavaScript?

can we retrieve by using dropdownbox? some of my web templates don't have variables. in that case, I should retrieve the dropDownBox selected value description into the header of web template.

thanks in advance