Thursday, May 28, 2009

How to add leading zeros after selecting value from a calendar dashboard prompt

I received an email about the problem in date format when choosing value from calendar dashboard prompt, it’s shows 2009-5-1 for example without leading zero. It should show 2009-05-01. This question/issue has also been posted on OTN Discusion Forum http://forums.oracle.com/forums/thread.jspa?threadID=904990&tstart=0.

First, set the correct format in localedefinitions.xml:



Now, open calendar.js from location \OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla, not from location \OracleBI\web\app\res\b_mozilla.

Add a part of the code for adding leading zeros for days and months only. We add this inside the NQCSetDate function.



Now you are able to see leading zeros in days and months, everytime. The length is always 2.

Monday, May 11, 2009

OBIEE 10.1.3.4.1

I forgot to mention that the new version of OBIEE (10.1.3.4.1) is out for a while...

Download available on:
http://www.oracle.com/technology/software/products/ias/htdocs/101320bi.html.

OBIEE 10341 First Impressions by John Minkjan:
http://obiee101.blogspot.com/2009/04/obiee-10341-first-impressions.html.