The community of Analytics developers are invited to follow and participate in the developer network.
OpenText technical experts collaborate with supported customers and partners in the Magellan product area.

Simple Example of Dropping a Table/Chart

edited March 26, 2014 in DevShare Downloads
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();
}
Sign In or Register to comment.