I’m fairly new to scripting but I’m just wondering if someone can steer me in the right path.
I have my data cube set to warehouse mode, on a specific dashboard that uses this cube I want to display a dynamic date as to when this cube was last updated. I figured I can pull this via script and put it in a text box.
I got as var as getting the service
It looks like I have to define a variable to get the DataCubeService and then from this get the cube by ID, but I’m afraid this is where my lack of programming knowledge stops.
Here’s my code that I have so far:
var dataCubeService = this.getService(“DataCubeService”);
var temp = new Date(dataCubeService.getDataCubeById(“036553ff-8428-42af-9d1b-99d9a52027d7”).lastModifiedTime);
var dateStr = temp.getFullYear().toString() +
Can anyone help me out?
Thanks in advance!