Hi,
i think your dashboard is not loading, because there is some kind of error in your js. After you opened the dashboard with the js, did you take a look in the browsers console? Is there an Error? (Most Browser have a shortcut on F12 to open the console)
To get and set the values of a token in js you can use this:
var unsubmittedTokens = mvx.Components.getInstance('default');
// get the value of a token called remark
unsubmittedTokens.get("remark");
// set the value of a token called remark to "value"
unsubmittedTokens.set("remark", "value");<code>
To make this work, you must import the mvc lib. Change this part of your code:
var deps = [
"splunkjs/ready!",
"splunkjs/mvc/searchmanager"
];
var db_boo = true;
var qt_boo = true;
require(deps, function(mvc) {
...
To this:
var deps = [
"splunkjs/mvc",
"splunkjs/mvc/utils",
"splunkjs/ready!",
"splunkjs/mvc/searchmanager"
];
var db_boo = true;
var qt_boo = true;
require(deps, function(mvc, utils) {
...
Hope this helps,
Greetings
Tom
... View more