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
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 117 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management