cancel
Showing results for 
Search instead for 
Did you mean: 

How to change XHTML code in WAD

Former Member
0 Kudos

Dear All,

In one of our WAD templates ( BI 7.1 SP 😎 we are using a customer exit variable which returns the last closed period value. This value is a key ( e.g. 01, 02 etc) and not text ( E.g. Jan, Feb etc). In the template we use a Info field Item that is bind to this variable. So finally when the report is published, we see the values like 01, 02 etc. The end users now want to see texts like Jan, Feb etc in place of the numbers. Since this is Production system, we cannot immeditaley change the customer exit. Is there an alternate solution to this issue? Also , could I make some changes to the XHTML code to get some solution. If yes, please suggest how to go about doing this. Some sample code would be appreciated.

Thanks and Regards,

Bansi.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member241911
Participant
0 Kudos

Hi Bansi,

just change the display properties of the characteristic in the query from key to text.

If you don´t have texts for the info object, create them.

best regards

ARNE

Former Member
0 Kudos

You could write a Javascript function which would read the output of Infofield item and change them to text, i.e 1= Jan, 2= Feb etc.