Show/hide tables based on passed in date parameter

VirgilVirgil AdministratorEM admin
edited May 8, 2017 in DevShare Downloads
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) {
} else {

Virgil Dodson
OpenText Analytics Developer Community

Sign In or Register to comment.