E-Book, Englisch, 512 Seiten
Gerow SharePoint 2007 Development Recipes
1. ed
ISBN: 978-1-4302-0962-1
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
A Problem-Solution Approach
E-Book, Englisch, 512 Seiten
ISBN: 978-1-4302-0962-1
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
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.
Mark Gerow has more than 20 years of experience in IT, professional services, and software product development, and has provided consulting to hundreds of companies throughout the San Francisco Bay Area and northern California. He currently works for Fenwick & West, LLP, where he is responsible for defining and implementing the firm's intranet and extranet strategies using SharePoint technologies. Mark holds a bachelor of arts degree with majors in computer and information sciences and economics from the University of California, Santa Cruz, and a master's in business administration from Santa Clara University. He is also a project management professional, certified by the Project Management Institute. Mark lives with his family in the San Francisco Bay Area.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;4
2;Contents;5
3;About the Author;8
4;About the Technical Reviewer;9
5;Introduction;10
5.1;Is This a “Beginner” or “Advanced” Book?;11
5.2;How This Book Is Organized;12
5.3;Have Fun with It!;13
6;Site Management;14
6.1;Recipe 1-1. Creating a Site Collection by Using the Object Model;14
6.2;Recipe 1-2. Creating a Site Collection by Using Web Services;23
6.3;Recipe 1-3. Creating a Site (or Web) by Using the Object Model;34
6.4;Recipe 1-4. Creating a Site (or Web) by Using a Web Service;41
6.5;Recipe 1-5. Adding and Modifying Properties of a Site;51
6.6;Recipe 1-6. Adding a Web Part by Using the Object Model;59
6.7;Recipe 1-7. Adding a Web Part by Using a .dwp or .webpart File;68
6.8;Recipe 1-8. Calculating Storage for all Document Libraries in a Site;77
6.9;Recipe 1-9. Creating a Script to Back Up All Site Collections by Using STSADM;86
7;Working with Users;92
7.1;Recipe 2-1. Obtaining and Displaying Users of a Site;92
7.2;Recipe 2-2. Adding Users to a Site by Using the Object Model;103
7.3;Recipe 2-3. Adding Users and Groups to a Site by Using the Web Services;110
7.4;Recipe 2-4. Adding Groups to a Site by Using the Object Model;118
7.5;Recipe 2-5. Adding Roles to a Web Site by Using the Object Model;125
7.6;Recipe 2-6. Adding Roles to a Web Site by Using the Web Services;134
7.7;Recipe 2-7. Adding Users to Active Directory;145
8;Working with Lists;157
8.1;Recipe 3-1. Creating a List by Using the Object Model;157
8.2;Recipe 3-2. Creating a List by Using Web Services;168
8.3;Recipe 3-3. Updating a List by Using the Object Model;179
8.4;Recipe 3-4. Updating a List by Using Web Services;192
8.5;Recipe 3-5. Adding a Document to a Document Library by Using the Object Model;203
8.6;Recipe 3-6. Adding a Document to a Document Library by Using Web Services;209
9;Working with Web Parts;218
9.1;Recipe 4-1. Creating a Simple RSS Feed Web Part;219
9.2;Recipe 4-2. Creating an XML Web Part;230
9.3;Recipe 4-3. Creating a SQL Web Part;249
9.4;Recipe 4-4. Creating a Page Viewer Web Part;261
9.5;Recipe 4-5. Creating a Connectable Page Viewer Web Part;272
9.6;Recipe 4-6. Reading Web-Part Parameters from the Querystring;284
9.7;Recipe 4-7. Using the SmartPart to Expose a .NET User Control;296
9.8;Recipe 4-8. Creating a ZoneTab Web Part;309
9.9;Recipe 4-9. Creating a Web Part to Edit SPWeb Properties;327
10;Working with Event Handlers;347
10.1;Why Create an Event Handler?;347
10.2;When to Use an Event Handler Rather Than a Workflow?;348
10.3;Event Handler Enhancements in SharePoint 2007;348
10.4;Recipe 5-1. Updating List Fields When Adding a Document to a Document Library;349
10.5;Recipe 5-2. Sending an Email When a Task Is Completed;359
10.6;Recipe 5-3. Preventing Deletion by Using an Event Handler;367
10.7;Recipe 5-4. Creating a Calculated Field by Using an Event Handler;374
11;Working with Templates and Other XML Files;387
11.1;Recipe 6-1. Adding a PDF Image to Docicon.xml;387
11.2;Recipe 6-2. Adding Custom Menus by Using a Feature;391
11.3;Recipe 6-3. Adding Web Parts Through Onet.xml;412
11.4;Recipe 6-4. Adding an ExecuteUrl Directive to Onet.xml;419
12;Modifying Pages with JavaScript;437
12.1;Recipe 7-1. Hiding the QuickLaunch Menu;437
12.2;Recipe 7-2. Opening List Items in a New Window;445
13;Advanced Dishes;452
13.1;Recipe 8-1. Customizing the STSADM Command;452
13.2;Recipe 8-2. Crawling a Database Table by Using a BDC Schema;461
13.3;Recipe 8-3. Creating a Custom MOSS Search Page;480
14;Index;491




