Sharepoint 2007 development recipes : a problem-solution approach

cover image

Where to find it

Information & Library Science Library

Call Number
TK5105.875.I6 G47 2008
Status
Available

Authors, etc.

Names:

Summary

SharePoint 2007 Development Recipes offers a range of ready-to-use code recipes that provide the building blocks for solving many common SharePoint 2007 programming dilemmas. This practical, hands-on guide categorizes recipes by problem area, for example site management, event handlers, users, lists, and web parts, and source code is provided in both VB and C#. As well as providing an invaluable reference, Mark Gerow also includes clear, supporting guidelines to help you modify the code samples for the broadest range of applications.

For each recipe you will find

Background and design considerations Source code in both VB and C# Discussion of variations on the provided examples Cross-reference to core SharePoint classes

If you find yourself asking, "How do I solve this SharePoint development problem?" you will find all the answers in Mark Gerow's supremely useful book.

Contents

  • About the Author p. ix
  • About the Technical Reviewer p. xi
  • Introduction p. xiii
  • Chapter 1 Site Management p. 1
  • Recipe 1-1 Creating a Site Collection by Using the Object Model p. 1
  • Recipe 1-2 Creating a Site Collection by Using Web Services p. 10
  • Recipe 1-3 Creating a Site (or Web) by Using the Object Model p. 21
  • Recipe 1-4 Creating a Site (or Web) by Using a Web Service p. 28
  • Recipe 1-5 Adding and Modifying Properties of a Site p. 38
  • Recipe 1-6 Adding a Web Part by Using the Object Model p. 46
  • Recipe 1-7 Adding a Web Part by Using a .dwp or .webpart File p. 55
  • Recipe 1-8 Calculating Storage for all Document Libraries in a Site p. 64
  • Recipe 1-9 Creating a Script to Back Up All Site Collections by Using STSADM p. 73
  • Chapter 2 Working with Users p. 79
  • Recipe 2-1 Obtaining and Displaying Users of a Site p. 79
  • Recipe 2-2 Adding Users to a Site by Using the Object Model p. 90
  • Recipe 2-3 Adding Users and Groups to a Site by Using the Web Services p. 97
  • Recipe 2-4 Adding Groups to a Site by Using the Object Model p. 105
  • Recipe 2-5 Adding Roles to a Web Site by Using the Object Model p. 112
  • Recipe 2-6 Adding Roles to a Web Site by Using the Web Services p. 121
  • Recipe 2-7 Adding Users to Active Directory p. 132
  • Chapter 3 Working with Lists p. 145
  • Recipe 3-1 Creating a List by Using the Object Model p. 145
  • Recipe 3-2 Creating a List by Using Web Services p. 156
  • Recipe 3-3 Updating a List by Using the Object Model p. 167
  • Recipe 3-4 Updating a List by Using Web Services p. 180
  • Recipe 3-5 Adding a Document to a Document Library by Using the Object Model p. 191
  • Recipe 3-6 Adding a Document to a Document Library by Using Web Services p. 197
  • Chapter 4 Working with Web Parts p. 207
  • Recipe 4-1 Creating a Simple RSS Feed Web Part p. 208
  • Recipe 4-2 Creating an XML Web Part p. 219
  • Recipe 4-3 Creating a SQL Web Part p. 238
  • Recipe 4-4 Creating a Page Viewer Web Part p. 250
  • Recipe 4-5 Creating a Connectable Page Viewer Web Part p. 261
  • Recipe 4-6 Reading Web-Part Parameters from the Querystring p. 273
  • Recipe 4-7 Using the SmartPart to Expose a .NET User Control p. 285
  • Recipe 4-8 Creating a ZoneTab Web Part p. 298
  • Recipe 4-9 Creating a Web Part to Edit SPWeb Properties p. 316
  • Chapter 5 Working with Event Handlers p. 337
  • Why Create an Event Handler? p. 337
  • When to Use an Event Handler Rather Than a Workflow? p. 338
  • Event Handler Enhancements in SharePoint 2007 p. 338
  • Recipe 5-1 Updating List Fields When Adding a Document to a Document Library p. 339
  • Recipe 5-2 Sending an Email When a Task Is Completed p. 349
  • Recipe 5-3 Preventing Deletion by Using an Event Handler p. 357
  • Recipe 5-4 Creating a Calculated Field by Using an Event Handler p. 364
  • Chapter 6 Working with Templates and Other XML Files p. 377
  • Recipe 6-1 Adding a PDF Image to Docicon.xml p. 377
  • Recipe 6-2 Adding Custom Menus by Using a Feature p. 381
  • Recipe 6-3 Adding Web Parts Through Onet.xml p. 402
  • Recipe 6-4 Adding an ExecuteUrl Directive to Onet.xml p. 409
  • Chapter 7 Modifying Pages with JavaScript p. 427
  • Recipe 7-1 Hiding the QuickLaunch Menu p. 427
  • Recipe 7-2 Opening List Items in a New Window p. 435
  • Chapter 8 Advanced Dishes p. 443
  • Recipe 8-1 Customizing the STSADM Command p. 443
  • Recipe 8-2 Crawling a Database Table by Using a BDC Schema p. 452
  • Recipe 8-3 Creating a Custom MOSS Search Page p. 471
  • Index p. 483

Other details