embed a html link in a report
#1
Posted 22 June 2009 - 07:14 AM
i want to display a html link
Visit my site!
in my report.
it is stored in the DB as a string exactly as above, so i am wondering what do i have to do to my report in order to show this as a link.
the column that the data is in will have normal strings and also links
The Version of BIRT viewer being used is 2.3.2
Thanks in advance
Ian
#2
Posted 22 June 2009 - 10:25 AM
Can you show a small sample of what the data looks like, so I can see where that item is in your dataSet? You should be able to use a text box with type html selected to display the link.
#3
Posted 22 June 2009 - 11:59 PM
The data returned could look like the following
row 1: Ian
row 2: tom
row 3: Gmail
row 4: Yahoo
row 5: Sean
The data could be random what i mean is it could be a link or it could be text.
Is it possible to do the above having some links returned and some normal text.
If not for now i can have them all as links as that is the better solution at the minute.
Thanks
#4
Posted 23 June 2009 - 06:53 AM
If you replace the data element with a text element and put the following as the expression text, it should work.
You can also see this in the image below. Make sure you choose type HTML for the text box.
Attached File(s)
-
textelement.jpg (29.27K)
Number of downloads: 4 -
textelement.jpg (29.27K)
Number of downloads: 4
#6
Posted 23 June 2009 - 08:59 AM
No problem! Glad to help.




MultiQuote

