Hi,
I have a dashboard with drill down that generate tokens. I am trying to send the tokens into JS, but for some reason i get the message "undefined" (on the console screen).
When i try to use tokens that are not from the drill down it is working, but it canceling the drill down tokens.
I also tried to replace the default token model with submitted but it didn't work.
This is the part of the JS referring to the tokens:
// Get the default model
var defaultTokenModel = splunkjs.mvc.Components.getInstance("default");
// Get some token from there
var token_def = defaultTokenModel.get("tempp");
console.log(token_def);
And this is the part of the dashboard with the drill down tokens:
$row.Custom$ $row.temp$
Thanks very much!!
↧