Microsoft SharePoint 2010 Web Applications
The Complete Reference
Charlie Holland
Copyright 2011 by The McGraw-Hill Companies. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher.
ISBN: 978-0-07-174457-7
MHID: 0-07-174457-6
The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-174456-0, MHID: 0-07-174456-8.
All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps.
McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. To contact a representative please e-mail us at bulksales@mcgraw-hill.com.
Information has been obtained by McGraw-Hill from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, McGraw-Hill, or others, McGraw-Hill does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from the use of such information.
TERMS OF USE
This is a copyrighted work and The McGraw-Hill Companies, Inc. (McGraw-Hill) and its licensors reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hills prior consent. You may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms.
THE WORK IS PROVIDED AS IS. McGRAW-HILL AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting there from. McGraw-Hill has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise.
For Nicola, Cameron, and Fraser
About the Author
Charlie Holland (Scotland, UK) is a freelance software developer with 15 years experience developing software for some of the worlds best-known companies, including IBM, Microsoft, Sony, and Hewlett Packard. As a SharePoint aficionado since the early days of SharePoint Team Services and SharePoint Portal Server 2001, since the beta release of SharePoint 2007, Charlie has been exclusively engaged in designing and delivering applications based on the features offered by the SharePoint platform for a number of UK clients. Charlie holds MCTS, MCPD, MCT, MCITP, CTT+, and MCSE Microsoft certifications. You can find Charlie online at http://www.chaholl.com or http://twitter.com/chaholl and feedback or questions are always welcome.
About the Technical Reviewers
Craig Porter (Scotland, UK) is an MCTS-certified freelance SharePoint all-rounder. Craig has been involved in SharePoint development, administration, architecture, and consultancy for the past 10 years, having delivered a number of SharePoint projects both large and small and of varying requirements and complexity. Craig first got involved in SharePoint in late 2000 when asked to contribute to a prerelease beta version of SharePoint Portal Server 2001, then known as Tahoe. Since then, Craig has dedicated his working life to getting the most out of the SharePoint platform and understanding its many intricacies. You can find Craigs web site at http://collaborativetechnologysolutions.co.uk.
Mike Catignani (Scotland, UK) is technical director and founder of Solutions Developed, a company specializing in SharePoint implementations. The company completed its first SharePoint deployment in 2003 for The Deer Commission of Scotland and has been actively involved in delivering SharePoint solutions ever since. Mike is very proud of the solutions hes delivered for many major blue chip companies such as Daimler, HSBC, Bacardi, Ministry of Defence (UK), and the UKs Emergency Fire and Rescue Service, in addition to many other organizations perhaps not so well known but equally important. Mike holds many IS qualifications, including the Microsoft accreditations MCSD and MCT. To learn more about Mike, visit his web site at www.solutionsdeveloped.co.uk.
Contents at a Glance
Contents
Acknowledgments
Before embarking on this book, I did some research to get an idea of what was involved in such a project. Almost without exception, people told me that the amount of effort required to write a book is always much more than originally anticipated.
As a working systems architect and software developer, I often spend much of my time writing technical documents, and, like many of those who have gone before me, I arrived at the conclusion that writing a book is pretty much like that. The only difference is the length of the document. Logical, dont you think? If only it was that simple!
SharePoint is a huge product, and part of my motivation in writing this book was to enjoy an opportunity to develop a broader knowledge of the platform. Like many developers, Ive been involved in a number of SharePoint projects over the years, but despite that, Ive never delved into some aspects of the platform in a meaningful way.
Faced with the task of writing a book on these subjects, I turned to a number of technical experts for help, including my technical reviewers on this project, Mike Catignani and Craig Porter. Without the invaluable input of these guys and others such as Martin Hinshelwood, Andrew Woodward, Spencer Harbar, Andre Vermeulen, Peter Holpar, and Nick Swan, I would have found it practically impossible to provide coherent explanations of some of the functionality of the platform. Over and above the assistance provided by this group of technical experts, I also found Twitter to be an indispensable tool for getting answers to the most arcane questions even several months before the release of the product. If that isnt a case study in the power of social computing, then I dont know what is.