How to get hyperlinks in BIRT report viewer

大憨熊 提交于 2019-12-23 03:48:16

问题


Using BIRT 4.2

My database (Postgresql) has many fields with hyperlinks in it and when I am displaying the reports via BIRT report viewer, all the fields which have hyperlinks are displayed as normal text in the BIRT report viewer. I want the hyperlinks to be retained at the BIRT report viewer. How can I achieve this. Please suggest.


回答1:


Select the corresponding cell and go to the hyperlink property and click on edit and select the URI radio button and click on the javascript syntax button and you will find your column bindings from that select the value of the column and finally you will get the hyperlinks




回答2:


your url should be like this (http://www.+row["Title"]+.com) if your Title field having google means then your string should be like this ("http://www.google.com").if you didn't append any HTTP means then it will look for the file which is in webcontent folder of your birt.war



来源:https://stackoverflow.com/questions/18193664/how-to-get-hyperlinks-in-birt-report-viewer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!