O'Reilly logo

Microsoft SharePoint 2010 Business Application Blueprints by Mike Oryszak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Task Delegation Web Part

We will now create a custom Web Part for the task delegations to provide better visibility of the current delegation settings, simplify editing the settings, and also to view the delegation history for the given user. This Web Part can be used on the user profile page, or on any of the sites used to store workflows.

In order to determine the correct user profile to read, the Web Part must be able to check the URL for the accountname variable, and if not found, use the current user's information, which is how the user profile's Person.aspx page operates.

Creating the Web Part project

The Task Delegation Web Part and the referenced application pages will be added to a new project called SPBlueprints.Delegation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required