SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wrote a web part that pretty much just grabs info from an announcements list on one site, and redisplays it on another. Everything pretty much works fine except when I edit the web part, in the properties panel, I don't have the option for audience targeting. Which sucks, because I need to target this web part.

Any ideas what could be causing this?

Note:SharePoint 2007, Visual Studio 2010, WSPBuilder

share|improve this question

Have you tried reproducing this web part using a Data View Web Part in SharePoint Designer 2007? I believe DVWPs have Target Audience capability.

share|improve this answer
I did try that, but I wasn't able to display/filter the announcements the way I needed to. Probably just because I'm no good at using the designer. Took me less time to just write a quick web part! :) – pinniger May 24 '10 at 18:40
Yeah, in order to use the DVWP in this way, you'd need to modify the XSLT in the code view so it produces the XHTML markup that you require for the layout. I wrote a blog post on producing a simlar view a short while ago, if you want to have a look:… – James Love May 24 '10 at 20:11

Can you put audience targeting on the list that you're consuming instead? I'm not sure if the targeting would flow down to the web part but maybe worth a shot.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.