
xiv
CONTENTS
ChaPter 3: CustoMIzIng searCh 55
Configuring and Creating Content Sources 55
Indexing Content 55
Planning Content Sources 56
Implementing Content Sources 57
Configuring Search Scopes 57
Defining Search Scopes in the Service Application 58
Defining Site Collection Search Scopes and Scope Display Groups 60
Creating Managed Properties 62
Customizing the Enterprise Search Center 63
Creating a New Search Results Page 65
Modifying the Advanced Search Screen 68
Finding Content with Alerts 70
Summary 71
ChaPter 4: leveragIng the sharePoInt lIstsWeb servICe 73
Web Services Overview 73
SharePoint Web Services Introduction 73
Instantiating a Web Service 73
Setting Credentials 76
Querying Lists and List Items 78
Modifying the SharePoint Location 78
Retrieving Lists from a SharePoint Location 79
Retrieving List Items from a SharePoint List 79
Modifying List Items 83
Creating a New Item 83
Updating an Existing Item 84
Deleting an Existing Item 86
Programmatically Uploading Files to SharePoint 89
Adding References 89
Create Upload Method 90
Create Web Request and File Buer 90
Use Stream and FileStream Objects 90
Perform the Upload 91
Error Handling and Returns 91
Summary 92
105054ftoc.indd 14 1/11/12 10:44 AM