Jump to content
We've recently updated our Privacy Statement, available here ×

How to add multiple hyperlink in single column.?


kangkulbir

Recommended Posts

Hi All,

In my prob i have 3 columns say ID, name and Links. for one ID and Name, i have multiple links. i.e ID =1 , Name = Test, Link = http://www.yahoo.com, http://www.google.com,  http://www.community.jaspersoft.com. 

i want to see this record as one row, three lines in link column with all three links. and need all three links as hyperlink to their corresponding internet links.

currently, i have just shown a valid internet links in single column, Adobe Reader makes them links as it has property to show hyperlinks as link, but this has one problem that my column length is specific and when length of internet URL is more than this column length, it automaically wraps it to next line. when links wraps into next line, it gets cut.

Please respond, need immidiate solution.

Thanks in advance

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You didn't mesioned about what database you are using.

If you are using Oracle 11g, then do following.

Write following query in your dataset on which your table is depending.

SELECT ID,NAME
  ,      LISTAGG(LINK, ',
') WITHIN GROUP (ORDER BY NULL) AS "LINKS"
  FROM   emp
  GROUP  BY
         ID, NAME

After writing query, take all these fields into your table. After you take LINK textfield into your table set it's following properties.

1) Markup ->   html

After setting above property, preview your report.

 

 

Link to comment
Share on other sites

hi sir..

i m using sql 2008 and i tried using markup as html..

it shows link in report but prob is that when link is very long,

it wraps into second line and when i place cursor on it in report.. link

breaks after first line...

thanks for ur rply...please comment

Link to comment
Share on other sites

hi sir.. i m using sql 2008 and i tried using markup as html.. it shows link in report but prob is that when link is very long, it wraps into second line and when i place cursor on it in report.. link breaks after first line... thanks for ur rply...please comment
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...