Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft SharePoint 2010 Business Application Blueprints

You're reading from   Microsoft SharePoint 2010 Business Application Blueprints Master SharePoint application development by building exciting SharePoint business solutions with this book and ebook.

Arrow left icon
Product type Paperback
Published in Jun 2012
Publisher Packt
ISBN-13 9781849683609
Length 282 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (15) Chapters Close

Microsoft SharePoint 2010 Business Application Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Building an Effective Intranet 2. Building an Out of Office Delegation Solution FREE CHAPTER 3. Building an Enterprise Content Management Solution 4. Building an Engaging Community Site 5. Building a Site Request and Provisioning System 6. Building a Project Site Template 7. Building a Project Management Main Site 8. Building a Task Rollup Solution 9. Building a Site Directory with SharePoint Search

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.

To create the initial project:

  1. 1. Open Visual Studio 2010.

  2. 2. Select File, then New Project.

  3. 3. Browse the Installed Templates and select Visual C# | SharePoint 2010, and then Empty SharePoint Project.

  4. 4. Enter the project details such as Name, Location...

You have been reading a chapter from
Microsoft SharePoint 2010 Business Application Blueprints
Published in: Jun 2012
Publisher: Packt
ISBN-13: 9781849683609
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image