My SharePoint World! - Nishant Shah

How-Tos, Thoughts and Experiences with Microsoft SharePoint !

How does Audience Targeting in a List / Document Library work?

How does Audience Targeting in a List / Document Library work?

  • Comments 9
  • Likes

Often there is a misconception about how Audience Targeting in a List or Document Library works; lets consider a scenario where –

Administrator has setup an Audience on Shared Services Provider with following rule.
Account Name (Property) = Contoso\Adam

clip_image002

1) Users “Contoso\Adam” and “Contoso\Julie” both have Contributor rights in a Document Library. Administrator enables Audience Targeting from List Settings > Audience targeting settings.

clip_image004

2) Document Library has 4 documents out of which Administrator enables Audience Targeting on 1 document (Deals.docx)

clip_image005

Administrator expects this document should be only visible to Contoso\Adam user [Either in Document Library or in Document Library Web Part] which is an incorrect expectation. Contoso\Julie will still continue to see the document both in Document Library and Document Library Web Part.

For these kind of scenarios, it would be wise to use item level permissions which will not allow Contoso\Julie user to see the document in either Document Library or Document Library Web Part due to SharePoint Security trimming.

So, you must have a question now… What is the use of Audience Targeting in a List / Document Library?

To display the content of a Document Library based on audiences, you need to use the Content Query Web part. In the properties of the Content Query Web Part you can specify to use the audiences to display the content (apply Audience Filtering).

clip_image007

  • Can yoy pls provide the info how the audience targeting works ?

  • @Krishna: See if below links are helpful

    office.microsoft.com/.../target-content-to-specific-audiences-HA010169053.aspx

    office.microsoft.com/.../introduction-to-targeting-content-on-a-sharepoint-site-to-specific-audiences-HA010243222.aspx

  • Good article, really helped in clearing the misconception.

  • Nice explanation.

  • Create a View with a filter on Target Audience field set to [Me] in the doc library. Then set configure views so only that 1 Target audience view is seen. Contoso\Julie will NOT be able to see the docs.

  • Very good article. helped me

  • That sounds like it would work Larry, but what if you want to display two target audiences, neither of which contains Julie or yourself?

  • @Larry: Thanks, I will try and expand when I get a chance

  • Larry, when I add the Target Audience column to a library, create a view that uses it, and add a group to the column I get the following in the column [; ; ; ; Groupname] and it does not filter the view based on the Target Audience. Any idea why the semicolons and is that why it doesn't work?

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment