Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I need to know how to use a variable in an infotable query.
For example: (In this example I want to pass the server variable into the query.
var server = "MYSERVER01";
var query =
{
"filters":
{
"type": "EQ",
"fieldName": "Server",
"value": "server"
}
};
Solved! Go to Solution.
Figured it out.
Just enter server after "value": without the double quotes.
Example:
var query =
{
"filters":
{
"type": "EQ",
"fieldName": "Server",
"value": server
}
};
Figured it out.
Just enter server after "value": without the double quotes.
Example:
var query =
{
"filters":
{
"type": "EQ",
"fieldName": "Server",
"value": server
}
};