|
|||
|
hi guys
i want to display a html link <a href="http://www.website.com/">Visit my site!</a> 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 |
|
|||
|
Hi Ian,
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. |
|
|||
|
Hi Michael
The data returned could look like the following row 1: Ian row 2: tom row 3: <a href="url">Gmail</a> row 4: <a href="url">Yahoo</a> 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 |
|
|||
|
Ian,
If you replace the data element with a text element and put the following as the expression text, it should work. <VALUE-OF format="HTML">row["data"]</VALUE-OF> You can also see this in the image below. Make sure you choose type HTML for the text box. |
|
|||
|
Ian,
No problem! Glad to help. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|