I want to find all installed software on a particualr host name with the following query
values of results from (bes property whose (name of it contains “Installed Applications - Windows”)) of (bes computers whose (name of it as lowercase = “hostname”))
when executed with SOAP API GetRelevanceResult, it crashes with the exeception
“Singular expression refers to non-unique object.”
Please help me to find the solution. Appreciated the earliest response.
It is likely that you have 2 properties with the same name “Installed Applications - Windows”.
You can check for the duplicates using this:
(
name of it,
name of source analysis of it,
name of site of source analysis of it
) of bes properties whose (name of it = “Installed Applications - Windows”)
So the fix could be:
values of results from (bes property whose (name of it contains “Installed Applications - Windows” and name of site of source analysis of it = “BES Inventory and License”)) of (bes computers whose (name of it as lowercase = “hostname”))