Running MOSS 2007 SP1 with infrastructure updates. Have defined various audiences including one “New Products”. All normal targeting of content using the CQWP is working fine and as expected, however…
On one page we want to show all articles where the target audience includes “New Products”, regardless of whether or not the user is actually in that audience. The CQWP appears to let you do this, by
- Selecting the content type we wish to show, as normal
- Not selecting “Apply audience filtering”
- In the “Additional Filters” section, under “Show items when” selecting “Target Audiences” from the dropdown, selecting “is equal to” or “contains”, and then putting in the name of the audience, “New Products” in my case.
However the bad news is that it simply doesn’t work. No items are ever returned with the filter set.
Could it be that the target audience names operate under it’s GUID rather than it’s display name?
If you choose to display the target audience through the CQWP along with the title and description, it is displayed as a GUID. I’m guessing that this is the format which the filter would recognise.
I could be wrong however but defiantly worth a try…
I use the Audience GUID, minus its enclosing braces, with a “contains” clause.
Works fine.