Better SharePoint Server 2010 Audiences with Mavention Audienced Preview

, , , ,

View as Audience button on the SharePoint 2010 Ribbon.
SharePoint Server 2010 ships with Audiences: a mechanism that allows you to target content to specific group of users. Audiences are a great capability: either if it’s from the e-commerce point of view of bringing the right products to the attention of the audience that is the most willing of buying it or if it helps you to unclutter the user interface by presenting just the right information. But how do you manage all that dynamic content?

SharePoint Server 2010 Audiences: what’s the big deal?

Targeting content with Audiences isn’t complex. All you have to do is to enable the User Profile Service Application, configure and compile the Audiences, and you’re ready to start targeting the content. And although it is really that simple the SharePoint Server 2010 Audiences introduce a new challenge. From the content management perspective using Audiences adds extra complexity. The previously static content becomes a hard to manage dynamic composition. Being a content manager you can see all of the dynamic content by editing the page. And unless you add yourself to every audience, it makes it really inconvenient to view and managed the targeted content. But then again: how can you be sure that the specific audience sees the correct content? Creating dummy accounts to verify it seems somehow misplaced… So what is a better way to manage targeted content?

Easier management of Audiences with Mavention Audienced Preview

Mavention Audienced Preview is a SharePoint Server 2010 solution that simplifies managing targeted content. Upon installation it adds an extra option to the Page Actions group on the Ribbon that automatically retrieves all Audiences that are being used on that page and allows you to view the contents of the page as selected Audience.

Configuring Mavention Audienced Preview

Mavention Audienced Preview is a SharePoint Server 2010 Farm Solution. Upon deployment it installs two Features: a Web Application Feature, which is responsible for installing new Runtime Filter which makes it possible to preview the content as Audience, and a Site Collection Feature which enables the preview option. Both Features must be activated before you can start using Mavention Audienced Preview. Activating those two Features are the only configuration steps that you need to do before you can start using Mavention Audienced Preview.

Using Mavention Audienced Preview to see content through the eyes of specific Audience

In this sample scenario, that illustrates using Mavention Audienced Preview, I have created a Publishing Page with two Content Editor Web Parts on it. Both Web Parts are targeted to Audiences.

Empty Publishing Page in SharePoint Server 2010

As you can see on the image above, you can see the typical content management issue: although the Web Parts are there, they are not being displayed as the content manager doesn’t belong to the specified audiences. As soon as you edit the page, both Web Parts appear on the screen.

Publishing Page with two Content Editor Web Parts in Edit Mode

To view the page as specific Audience, go to the Page tab on the Ribbon and from the Page Actions group click the View as Audience button.

View as Audience button highlighted on the SharePoint 2010 Ribbon

Mavention Audienced Preview will automatically scan the current page for Audiences that are being used and will add them to the drop-down list. Additionally the Me item is being added which allows you to see the page as yourself again.

Group 1 menu option highlighted in the View as Audience drop-down list

After you select one of the Audiences Mavention Audienced Preview will reload the page but this time you will see its contents just as if you were a member of the selected Audience:

Publishing Page with a Content Editor Web Part. Some information has been marked with arrows

For your convenience Mavention Audienced Preview adds information about the selected Audience to the query string, so that you can easily send the information to someone else.

Each time you view a page as another Audience a message appears in the Status Bar, which can help you distinguish your own view from a view of specific Audience. You can close this message by clicking the Close link at the end of the message.

Future considerations

Although the Mavention Audienced Preview solution is a great improvement in managing targeted content, there are still a few things that might be added to it to make it more complete.

For Web Parts only

At this moment Mavention Audienced Preview supports previewing targeted Web Parts only. If you have targeted Publishing Pages they won’t be picked up by Mavention Audienced Preview. If targeting whole pages is something you use intensively, you might consider extending the solution to support Publishing Pages as well.

Per-page setting

In the current release Mavention Audienced Preview allows you to view as Audience a single page. As soon as you navigate to other page you have to select the specific Audience again. If you’re interested in how multiple pages look like for the specific Audience you might want to consider persisting the choice in a cookie.

Summary

SharePoint Server 2010 ships with Audiences which are a mechanism that allows you to target content to specific groups of users. Unfortunately it doesn’t provide any mechanism to preview the contents of the page as specific Audience which makes it difficult for the content managers to author and verify the page contents. Mavention Audienced Preview fills this gap by adding the ability of previewing pages as specific Audience.

Download: Mavention Audienced Preview (10KB)

Technorati Tags:


Possibly related posts

7 Responses to “Better SharePoint Server 2010 Audiences with Mavention Audienced Preview”

  1. Sharepoint Code Says:

    Useful page dude – but how do I specify an audience from a sharepoint group – that is the question!

  2. C. Marius Says:

    Hi Waldek, excellent feature, extremelly usefull to get a clue on how content is displayed per audience!
    I'm trying to get the same working on Wiki Page to allow targeting content from within a wiki page to specified audiences! Did u managed to find a way to get audience via Client Object Model, or r u calling Web Services to get a list of available audiences?

  3. Waldek Mastykarz Says:

    @C. Marius: Unfortunately Audiences are a part of the server OM and are therefore not a part of the Client OM. Hopefully it's something we will see added in the future but as for now you have to create a custom HTTP Handler/Service to get the list of available Audiences.

  4. Alex Says:

    Once I deployed the solution and attempted to turn on the feature I received an error stating Mavention Audienced Preview WebApplication Configuration needs to be activated before attempting to activate the Preview solution. Unfortunately, I do not have this solution installed nor do I know where to get it. Can you please help? Is this user error or am I missing a dependent feature?

  5. Waldek Mastykarz Says:

    @Alex: Mavention Audienced Preview Web Application Configuration is a Web Application-scoped Feature that can be activated through Central Administration.

  6. Alex Says:

    Well, I did activate it through CA. Here were my steps: I downloaded your solution file. I added the solution to the HIVE via stsadm. Then I deployed the solution in Central Admin. Afterwards, I went to my site "site settings" to the Site Collection Features and attempted to activate the feature. This is where I received my error msg:
    SharePoint Staging Required Features One or more features must be turned on before this feature can be activated. I Like ItTags & Notes

    SharePoint StagingCurrently selectedLibrariesSite PagesShared DocumentscodeLibraryListsCalendarTasksAIT Corporate GoalsDiscussionsTeam Discussion Recycle Bin All Site Content

    WebApplication
    The feature being activated is a Site Collection scoped feature which has a dependency on a Web Application scoped feature which has not been activated. Please activate the following feature before trying again: Mavention Audienced Preview WebApplication Configuration d62f1949-6fcb-40bc-87e7-eb9bb2620b3a

    Not sure what I need to do next. Any ideas?

  7. Alex Says:

    For clarification sake … The only file I have downloaded and tried to activate is the Mavention.SharePoint.AudiencedPreview.wsp file

Leave a Reply

Security Code:

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS
Copyright © 2007 - 2012 Waldek Mastykarz

Creative Commons License