You can try this to get the component names of all your baselines. If you add a whose clause or an ’ AND name of it starts with “foo” ’ you can restrict it to specific baselines:
node values of attributes “Name” of xpaths “/BaselineComponentCollection/BaselineComponentGroup/BaselineComponent” of xml documents of components xmls of bes fixlets whose (baseline flag of it)
Very clever idea using the fixlet XML to find the components of a baseline. In 7.0 we have inspectors to look at baseline component fixlets, but i had not thought of a way to do it in 6.0 until you brought this up.
the “XML document” takes an xml looking string and converts it to a xml dom object, which is cannot be displayed as a string. After we have the xml dom object, we can manipulate it a little bit and get what you want.
(node value of attribute
"Name" of it )of child nodes of child nodes of child nodes of xml document of (components xmls of bes fixlets whose (name of it starts with
"Tim's Baseline"))
In BES 7.0 there are some new inspectors for baselines that make it easier. In 7.0, this will do the same as the query I posted above:
names of components of component groups of bes fixlets whose (baseline flag of it)
Here’s a listing of the new baseline inspectors:
component groups of : bes baseline component group
name of : string
components of : bes baseline component
id of : integer
name of : string
source fixlet of : bes fixlet
include in relevance flag of : boolean
relevance of : string
action of : bes fixlet action
applicable computer set of : bes computer set
applicable computer count of : integer
unknown computer set of : bes computer set
unknown computer count of : integer
baseline flag of : boolean