I created the following in the presentation debugger:
<?relevance (name of bes fixlet whose (id of it = 17028) as string) & " | unpatched machines | " & (applicable computer count of bes fixlet whose (id of it = 17028) as string)?>
The code returns all devices applicable for the baseline, but is there any way to filter to show only applicable machines where the operating system =“WinXP” ?
Firstly, this is an alternative to your original statement:
(name of it & " | unpatched machines | " & applicable computer count of it as string ) of bes fixlets whose (id of it = 17028)
To add the condition for operating system, I have the following:
(name of it & " | unpatched machines | " & number of applicable computers whose (operating system of it contains “WinXP”) of it as string) of bes fixlets whose (id of it = 17028)
When I run the following in the presentation debugger:
<?relevance (name of it & " | unpatched machines | " & number of applicable computers whose (operating system of it contains "WinXP") of it as string) of bes fixlets whose (id of it = 17028) ?>
I get the following - The operator “operating system” is not defined.
The reason I am using the <?relevance ?> tags is so that I can create this as a report that can be e-mailed on a regular scheduled basis from webreports.
When I run the following
number of operating system of applicable computers of bes fixlets
I get “The operator “operating system” is not defined.”
Looks like the version 6.0, operating system is not a predefined property of the BES Computer object.
You can try the following instead:
(name of it & " | unpatched machines | " & (number of values whose (it contains “WinXP”) of property results whose (name of property of it = “OS”) of applicable computers of it) as string) of bes fixlets whose (id of it = 17028)
Note that you need to verify that you have a Retrieved Property with the name “OS”. This construct will also allow you to filter on any properties return by the clients.