It's all about the answers!

Ask a question

How to set the default value of parameter which is "Date Time" type in RTC BIRT report?


Albert Yao (5411322) | asked Mar 28 '16, 9:30 a.m.
I developed a BIRT report in RTC. RTC version is 4.0.4 and BIRT version is 2.6.2.
The report has a parameter which is "Date Time" type and I set it's default value as "new Date()".
It works well in the RTC Eclipse client&BIRT plug-in, 
but after I deployed it in the RTC server and run it in the web browser, 
the parameter control box gives a warning "The value entered is not valid".
I have tried to set the parameter's value as "2016-03-28 21:20:49.919+0800" or "2016-03-28 21:20:49.919" or "2016-03-28 21:20:49" or "2016-03-28 21:20", but all got the same warning "The value entered is not valid".
Could anyone help these 2 questions:
1. How to set the default value of parameter which is "Date Time" type in RTC BIRT report? And what is the proper format of "Date Time" type parameter in the web client?
2. Does RTC BIRT report support "Date Time" type parameter? If the warning is the defect of RTC BIRT?


Comments

Be the first one to answer this question!


Register or to post your answer.