Home Analytics DevShare
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.

Show/hide tables based on passed in date parameter

VirgilVirgil AdministratorEM admin
edited May 8, 2017 in DevShare
This example uses a passed in parameter to determine which table to show. Each table uses the visibility property and code similar to below.
var paramDate = new Date(Date.parse(params["NewParameter"].value));
var flipDate = new Date(Date.parse(params["flipParam"].value));

var paramDateComp = paramDate.getTime();
var flipDateComp = flipDate.getTime();

if (paramDateComp > flipDateComp) {
  true;
} else {
  false;
}

Virgil Dodson
OpenText Analytics Developer Community
https://forums.opentext.com/forums/categories/analytics

Sign In or Register to comment.