Simple Example of Dropping a Table/Chart
The trick is to name the charts and/or the tables. The code is fairly simple.
var oTable = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("Offices"); var cTable = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("Customers"); var pTable = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("Products"); if (params["pTable"].value == "Customers") { oTable.drop(); pTable.drop(); } else if (params["pTable"].value == "Offices") { pTable.drop(); cTable.drop(); } else { oTable.drop(); cTable.drop(); }
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