SharePoint 2007 Publishing site and Audience Targeting in Web Part

Posted by Robert Vukovic on Stack Overflow See other posts from Stack Overflow or by Robert Vukovic
Published on 2009-04-17T09:29:13Z Indexed on 2010/04/19 17:03 UTC
Read the original article Hit count: 330

Filed under:
|
|

In a Publishing site I have web part that has to show news items from the list that has Audience Targeting field. I am using CAML query to retrieve small number of last news items.

Is it possible to specify Target Audience in the CAML query ? If not, how should I do it ? Retrieve all results and than apply filter in a loop ?

I am practically duplicating Content Query Web Part and I need Audience Targeting in my custom web part.

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about moss