Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Image displayed only if condition met
Image displayed only if condition met [message #1382451] Mon, 26 May 2014 01:24 Go to next message
Sheridan Lambert is currently offline Sheridan LambertFriend
Messages: 2
Registered: May 2014
Junior Member
Hi everyone,

I am creating a report which will be used as a template for multiple CRM instances (>15). The report is a receipt that can contain an image of a signature for ease of use. However due to the large amount of instances, it is likely the image will not always be there.

To select the image I am using a Image URI as follows

var myurl = row["serveraddress"]
var myfolder = row["vtigerfilename"]
var myimage = row["ppsignature"]
"http://" + myurl + "/" + myfolder + "/test/logo/" + myimage


I am hoping that someone will be able to help me add a condition so that if the field ppsignature is not an image then no image will be displayed, currently if their is no image a box is displayed.

If you need any more information to answer, feel free to ask.

Thanks in Advance

Sheridan
Re: Image displayed only if condition met [message #1384049 is a reply to message #1382451] Wed, 28 May 2014 02:55 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Would "myimage" contain any other information than an image file?

Michael

Developer Evangelist, Silanis
Previous Topic:Issues that preview is not displayed.
Next Topic:Dataset that this chart uses has been changed. This chart can no longer be rendered.
Goto Forum:
  


Current Time: Sat May 11 02:51:05 GMT 2024

Powered by FUDForum. Page generated in 0.03485 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top