Little trick: Disable the hyperlink according to the output format
This is a trick for user to hide or disable the hyperlink action according to the output format. In this example report we disable the label's URI hyperlink when the output format is xls. First in label's onRender get the output format by reportContext.getOutputFormat(), if it is equal to xls we set this label's action to null. The expected result is when exporting or preview the report in xls, the hyperlink should be disabled.
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management