Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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
}
};