Create a Set based on an Empty Attribute
I am trying to create two sets, one containing all groups where a specified attribute is populated, the other containing groups where the same attribute is not populated. I have reviewed the post http://social.technet.microsoft.com/Forums/en-US/ilm2/thread/21ddf91a-9d21-46ef-bae5-1f0d21aab699 and the xpath example works if set up as a search scope. However, if I use the same xpath in the Set I get the error 'Request Failed'. Below is the xPath I am using <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect" xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Group[not(ExtensionAttribute10 != '')]</Filter> The ExtensionAttribute10 is set up as a string. Any suggestions I how to set up the two sets based on whether or not an attribute is populated?
May 16th, 2011 4:11pm

Try this: /Group[not(starts-with(ExtensionAttribute10,'%'))]
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 4:41pm

Thanks, it worked. That being said, the process for creating set filters is slightly less than intuitive.
May 16th, 2011 5:24pm

Thanks, it worked. That being said, the process for creating set filters is slightly less than intuitive.
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 5:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics