what version of bsa are you on ? there was a defect in 8.2 where the properties weren't handled properly in the cfo paths.
also - can you paste a screenshot of what you are trying to do ?
We are on version 8.5.1.
I set a local property.
I then build a local configuration object.
In my compliance rule, I can check for the existence.
But if I attempt to check a value, nothing seems to be found.
My components are tied to specific property dictionary instances.
My component template has a local property mapped to eCareApplicationServer which ties back to the above property dictionary.
This allows me to check custom values inside my configuration files.
The issue seems to be having a custom value that is either the name of a file or in the path of said file.
I'm getting much closer, but I don't think my foreach loop is picking up the contents of the file. I can set @Name@ to anything and @Value1 as String (All OS)@ to anything and it always reports back as compliant.
In your example you have ??DIR1??/hosts//**. What does the trailing //** do?
Here's the contents of my XML file.
the ** recurses through all of the cfo entries in the cfo. so you need to append the //** in your foreach line.
Thanks for the help!