Condividi tramite


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

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

Comments

  • Anonymous
    January 01, 2003
    @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

  • Anonymous
    January 01, 2003
    @Larry: Thanks, I will try and expand when I get a chance

  • Anonymous
    April 05, 2013
    Can yoy pls provide the info how the audience targeting works ?

  • Anonymous
    May 23, 2013
    Good article, really helped in clearing the misconception.

  • Anonymous
    March 26, 2014
    Nice explanation.

  • Anonymous
    April 14, 2014
    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. ContosoJulie will NOT be able to see the docs.

    • Anonymous
      January 08, 2016
      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. ContosoJulie will NOT be able to see the docs.Hey Larry, Can you help me more with the solution above. I wanted to show documents in 3 folders except one folder. One folder should be restricted from users from Sharepoint groups. How can I achieve it?
  • Anonymous
    May 29, 2014
    Very good article. helped me

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

  • Anonymous
    February 09, 2015
    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?