Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Re: Applying conditional content using spesific conditional expression in BIRT

From: yd_ir (2013-02-01 01:35)


Eg:
If condition-1 then
report-content-1
else if condition-2 then
report-content-2
else so on ...
--- In MAXIMO@yahoogroups.com, yudi.irianto@... wrote:
>
> Dear all,
>
> I am a BIRT newbie and need to compare with actuate. Actuate is easily to
> create a conditional content using spesific conditional expression, so we
> only need to create one report instead of individual report.
>
> Eg:
> If then
>
> else if then
>
> else so on ...
>
> report-content might content datasource, details, image, etc...
>
> How can i compare with BIRT?
>
> Many thanks & Best Regards,
>
> Yudi Irianto
>
>
>


From: wwilliams (2013-02-01 04:08)

You use JavaScript so if(condition-1 ){
report-content-1 ;
} else if {
}
or use switch
switch (month) { case 1: monthString = "January"; break; case 2: monthString = "February"; break; case 3: monthString = "March";
etc.
 
Wes Williams
http://www.weswilliams.net
http://www.williamsconnell.com
________________________________
From: yd_ir <yudi.irianto@ytljt.com>
To: MAXIMO@yahoogroups.com
Sent: Thursday, January 31, 2013 7:35 PM
Subject: [MAXIMO List] Re: Applying conditional content using spesific conditional expression in BIRT

 
Eg:
If condition-1 then
report-content-1
else if condition-2 then
report-content-2
else so on ...
--- In MAXIMO@yahoogroups.com, yudi.irianto@... wrote:
>
> Dear all,
>
> I am a BIRT newbie and need to compare with actuate. Actuate is easily to
> create a conditional content using spesific conditional expression, so we
> only need to create one report instead of individual report.
>
> Eg:
> If then
>
> else if then
>
> else so on ...
>
> report-content might content datasource, details, image, etc...
>
> How can i compare with BIRT?
>
> Many thanks & Best Regards,
>
> Yudi Irianto
>
>
>


From: Jason Verly (2013-02-01 20:45)

And remember when you're setting the condition check you need to use '==', not just '='. For example:
if row["historyflag"] == 0 {
'Open' }
'Closed'
--- In MAXIMO@yahoogroups.com, wwilliams@... wrote:
>
> You use JavaScript so if(condition-1 ){
> report-content-1 ;
>
> } else if {
> }
>
> or use switch
> switch (month) { case 1: monthString = "January"; break; case 2: monthString = "February"; break; case 3: monthString = "March";
>
> etc.
>  
> Wes Williams
>
>
> http://www.weswilliams.net
> http://www.williamsconnell.com
>
>
> ________________________________
> From: yd_ir
> To: MAXIMO@yahoogroups.com
> Sent: Thursday, January 31, 2013 7:35 PM
> Subject: [MAXIMO List] Re: Applying conditional content using spesific conditional expression in BIRT
>
>
>  
>
>
> Eg:
> If condition-1 then
> report-content-1
> else if condition-2 then
> report-content-2
> else so on ...
>
> --- In MAXIMO@yahoogroups.com, yudi.irianto@ wrote:
> >
> > Dear all,
> >
> > I am a BIRT newbie and need to compare with actuate. Actuate is easily to
> > create a conditional content using spesific conditional expression, so we
> > only need to create one report instead of individual report.
> >
> > Eg:
> > If then
> >
> > else if then
> >
> > else so on ...
> >
> > report-content might content datasource, details, image, etc...
> >
> > How can i compare with BIRT?
> >
> > Many thanks & Best Regards,
> >
> > Yudi Irianto
> >
> >
> >
>
>
>
>
>
>