[12] hive TEMPLATE folder, 8, 15, 52–53
1044 folder, 53
activation dependencies, 40–41, 272, 315
ActivationDependency elements, 68
AddAsFirst method, 317
AdditionalPageHead control, 104
AllowDeletion attribute, 122
AllowEveryoneViewItems attribute, 122–123
AlternateCSS attribute, 58
AlternateHeader attribute, 58–59
application pages, 58, 302–304
application.master file, 103–104
ASP.NET user control, for rendering, 245–247
asynchronous events, 192
attributes, XML, 22, 23. See also specific attributes
AuthenticationRestrictions attribute, 87
BaseTypes element, 78, 79, 80, 123–124, 215
BaseViewId attribute, 151, 333
BasicWebParts feature, 68
behaviors, attaching to content types, 178, 192–193
Blog content type, 200
bookmarks, 11
branding, 335
bugs, 336
CAML. See Collaborative Application Markup Language (CAML)
CanReceiveEmail property, 117, 118
Cascading Style Sheets (CSS), 102
Category attribute, 125
checking out documents, 114
Data, 67
XSD and, 27
ChromeType property, 75
ClientOnClickNavigateUrl attribute, 88
ClientOnClickScript attribute, 88
cmd attribute, 166
code
bookmarking, 11
developing own, 340
inline, 297
.NET, 340
source, and .NET Reflector, 10–12
CodePlex, 338
Collaborative Application Markup Language (CAML), 19, 29–32, 330, 332
ColName attribute, 212
columns, 207
in content types, 219
defining, using features, 209–216
list, 208
in list templates, 219
site, 181
site vs. list, 208
See also fields; site columns
conditional elements, views, 161–163
Configuration elements, 79
content type forms, 202, 264–267
content type IDs, 184–186, 258–259
content types, 39, 125, 177, 211
adding event receivers to, 202–204
attaching behaviors to, 178, 192–193
columns in, 219
common, 185
connecting custom actions to, 270–272
connecting forms to, 178
creating event receivers in, 268–270
custom information on, 199–202
vs. database schemas, 178
defined, 51
inheritance, 93, 191, 178–186, 191, 263
lists and, 279
system, 140
See also specific content types
ContentType child elements, 197–202
RemoveFieldRef element, 199
ContentType site column, 211–214
ContentTypeBinding element, 282
ContentTypeRef element, 136
ControlAssembly attribute, 93
ControlClass attribute, 93
ControlId attribute, 103
ControlSrc attribute, 103
CQB. See U2U CAML Query Builder
CreateChildControls method, 247
CSSLink tag, 58
CSSRegistration tag, 58
ctype parameter, 184
ctypes feature, 139
ctypeswss.xml, 215
custom actions, connecting to content types, 270–272
custom field properties, 248–249
custom field type class, 240–243
custom field types, 220
field type definitions for, 238–239
using ASP.NET user control for rendering, 245–247
custom list forms, adding content types to, 283–285
custom namespaces, 249
custom pages
custom properties, 248–249, 338–339
custom site columns, creating and deploying, 330–331
CustomActionGroup element, 94
customization
CustomJSUrl attribute, 59
CustomMasterUrl attribute, 64–65
Data child element, 67
data refresh, 9
default features, Team Site definition, 68–69
default files, modifications to, 83
default form templates, modifications to, 264–267
default master page, 78
default title, 181
default.aspx page, 70
default.master file, 104
DefaultRenderingTemplate method, 247
DefaultTemplates.ascx file, 96–97, 99
Description attribute, 65, 111, 125, 194
development environment
DisableWebDesignFeatures attribute, 59
DisallowContentTypes attribute, 125
DisplayForm, 99, 109, 137, 139, 264–267
DisplayName attribute, 125, 210, 212
DisplayPattern element, 217–219, 224–226, 248
docicon.xml file, 62
Document content type, 193–194, 197–202
document libraries, 8
Document Type Definition (DTD), 22, 27
documents, checking out, 114
DocumentTemplates element, 61–62, 313
EditControlBlock (ECB) menu, 124, 217
EditForm, 99, 109, 137, 139, 266
EditPage attribute, 128
EditPattern element, 224
elements, XML, 21–22. See also specific elements
elements.xml, 38
email-enabled lists, 113, 116–121
EmailAlias attribute, 113, 115, 116
EmailEventReceiver, 120
EmailReceived method, 120
EnableContentTypes attribute, 111–113
EnableMinorVersions attribute, 113
error logs, 338
error messages, 338
event handlers, feature, 39–40
adding to content types, 202–204
attaching to list templates using features, 202–203
creating, in content types, 268–270
exception handling, 9
ExecuteUrl attribute, 67
ExportMode property, 77
Extensible Application Markup Language. See XAML
Extensible Markup Language. See XML
external storage, 4
ExternalSecurityProvider element, 78
feature handling, 7
Feature with Receiver feature, 237
feature.xml, 38
FeatureActivated event handler, 39, 46, 102, 115, 133, 258
FeatureActivated method, 283, 314, 316
FeatureActivationDependency element, 272
FeatureAdded method, 314
FeatureDeactivating event, 39
FeatureDefinition, 28
FeatureId attribute, 111
FeatureMenuTemplate tag, 85, 88–90
features
activation dependency, 40–41, 272
attaching event receivers to content types using, 203–204
attaching event receivers to list templates using, 202–203
defining columns using, 209–216
resources and, 41
site-scoped, 37
Team Site default features, 68–69
web-scoped, 37
See also specific features
FeatureSiteTemplateAssociation element, 101
Field elements, 164–166, 167, 221–223, 332
field properties, custom, 248–249
field type control class, 239, 242–243
field type controls, 208
definitions, creating, 238–239
RenderPattern element, 223–226
field type value class, 239
FieldRefs element, 197–199, 217–218, 332
FieldRenderingControl property, 243
creating, using features, 209–210
introduction to, 207
invisible, 210 See also columns
Fields element, 80
FieldSortParams element, 168
FieldSwitch element, 161, 217–218
fieldswss.xml file, 211
FieldTypeClass property, 222
FileDialogPostProcessor element, 78
files
modifications, and supportability, 83
naming, 71
Filterable property, 223
fldtypes.xml, 221
fldtypesXXXXX.xml file, 221
Folder content type, 279
FolderCreation attribute, 126
attaching workflows to, 189
as content types, 185, 187–189
ForceCheckout attribute, 114
forms, 136
connecting to content types, 178
FormUrls type, 202
FrameType property, 75
FromBaseType attribute, 215–216
GetHandler method, 118
Ghostable files, 72
GhostableInLibrary files, 72
ghosting, 65
global site configuration, 78–80
GlobalSiteLink control, 104
grouping, views, 147–148, 168–171
groups, site column, 213
GUID values, creating, 251
HasHandler method, 117
HeaderPattern element, 224, 225
Hidden attribute, 55, 65, 126–127, 196
HideCustomAction element, 96, 103
HTML (Hypertext Markup Language), 20
HttpVDir element, 154
ID attribute, 73, 103, 115, 194, 258
IfNeg element, 161
IfNew element, 161
IfSubString element, 161
IgnoreIfAlreadyExists attribute, 72
Image attribute, 127
ImageUrl attribute, 65
ImageWebPart element, 77
inheritance, content type, 178–186, 191, 263
inline code, 297
InternalName property, 182
InternalType property, 222
IsNotNull operator, 156
IsNull operator, 156
IssueTrackingWorkflow feature, 68
ItemAdding event receiver, 193
Item content type, 139–140, 180–181, 184, 216, 279
ItemDeleted event handler, 290
ItemDeleting event handler, 289
Item root content type, 112
JoinColName attribute, 212
Keutmann, Carsten, 330
language localizations, 42
_layouts virtual directory, 291
Limit element, 174
List attribute, 253
list columns, 208
list definition, 109
ListDir attribute, 60
ListForm, 140
definitions, 137
list instances, 110–121, 285–286
lists, 51
adding content types to, 280–283
adding items to, 67
compared with tables, 108
content types and, 279
creating, 110
vs. folders, 72
names, 111
root definitions for, 80
list templates, 79, 122–136, 144
attaching event receivers to, using features, 202–203
columns in, 219
defined, 61
hidden, 69
reusability, 111
ListTemplate element, 61, 79, 111, 122–133
ListViewWebPart element, 77
locale identifier (LCID), 53
Location attribute, 88, 91, 95
logs, error, 338
LookupList property, 256
LookupWebId property, 256
markup, storing in XML documents, 25–26
master pages, 51, 64, 78, 103, 293–294, 302
masterpagefile property, 65
MenuGroupId attribute, 87
Merge Documents view, 8
MetaData subelement, 125
method names, for event receivers, 192
Microsoft Office, 15
Microsoft.SharePoint.dll, 117, 120, 188, 230, 237
minOccurs attribute, 29
MobilityRedirect feature, 68
MoreText attribute, 174
MOSS definitions, 56
Name attribute, 65, 70, 73, 127, 194, 212, 221
names
for field type definition files, 238
namespaces
custom, 249
NamespaceURI, 201
nav bars, 61
NavBarHome attribute, 72
NavBarPage element, 73
navigation bars, 318–319, 321–322
.NET code, 340
NewForm, 99, 109, 137, 139, 266
NewFormToolBar template, 98, 99
NewPattern element, 224
NoID attribute, 166
onet.xml file, 110, 111, 310, 312
DocumentTemplates section, 61–62
global site configuration, 78–80
ListTemplates section, 61
NavBars section, 61
in site definition, 51
OnLoad method, 294
OnQuickLaunch attribute, 115, 129
OrderBy element, 156
PagedRowSet element, 160
PageModes attribute, 87
pages
adding content to, 294–298, 303–304
application, 58, 102–103, 302–304
improving code on, 298
master, 51, 64, 78, 103, 293–294, 302
ParentType property, 223
PermissionContext attribute, 87
PermissionMode attribute, 86
permissions, views and, 171–173
PermissionString attribute, 86
plug-ins, support for, 11
Position attribute, 73
PreviewDisplayPattern element, 224
PreviewEditPattern element, 224
PreviewNewPattern element, 224
PrevPageData element, 161
properties, 207
Properties element, 73
ProvisionAssembly attribute, 56
ProvisionClass attribute, 56
ProvisionData attribute, 56
provisioning resources, 41
Query property, 155
QuickLaunchUrl attribute, 114
Receiver type, 203
referential integrity, 108
RegistrationType attribute, 92
Relink Documents view, 8
RemoveFieldRef element, 199
render patterns, 248
RenderFieldForDisplay method, 244–245
RenderPattern element, 223–226, 248
RequiredFeatures attribute, 87
resource files, 67
$Resources, 67
resources, 41
RightsChoices element, 172
root definitions, for lists, 80
RootWebOnly attribute, 70, 114, 130
runtime resources, 41
Save Site As Template option, 54
schema files, 5
schema output, 9
Schemas property, 5
schema.xml files, 79, 133–136, 276–279
SchemaXml property, 330
scope
site, 191
web, 191
security trimming, views and, 171–173
SecurityBits attribute, 130
Sequence element, 203
setup.bat file, 36
SetupPath attribute, 70, 129, 137, 151
SharePoint branding, 335
SharePoint development
as learning experience, 336
mindset for, 229
server-based, 339
techniques for speeding up, 325–333
SharePoint DLLs, 339
SharePoint environment, setting up, 15–17
SharePoint features. See features
SharePoint interface, default, 49–51
SharePoint Manager 2007, 5–10, 330–331, 326
signing keys, 237
Site Actions menu
SiteActions tag, 85
site columns, 181
groups, 213
vs. list columns, 208
See also columns
site composition, 51
site configuration, global, 78–80
Site Content Type Gallery page, 184, 186, 195
[12] hive TEMPLATE folder, 52–53
components, 78
file names in, 71
modifying, 319
resources for exploring, 80–81
structure, 311
working with web parts in, 74–78
SiteFeatures attribute, 67
SiteLogoUrl attribute, 60
site modifications, supportability and, 53, 55
site pages. See pages
site scope, 191
site-scoped features, 37
Site Settings page, 313
SiteTemplates folder, 56
.snk files, 237
Sortable property, 223
source code, .NET Reflector and, 10–12
SourceID attribute, 214
SPBasePermissions enumeration, 86
SPEmailHandler class, 119
SPEmailHandler.GetHandler method, 118
SPEmailHandler.HasHandler method, 117
SPExternalEmailHandler, 119
SPFeatureReceiver class, 40
SPField class, 220
SPItemEventReceiver class, 192
SPNavigationNode constructor, 317
SQLType property, 223
standard toolbars, 152
subfolders, 187
subsites, 190
Switch element, 161
synchronous events, 192
system content type, 140
System root content type, 211
tables, lists compared with, 108
Team Site
default front page, 50
feature stapling and, 101
template, 16
TeamCollab feature, 68
Template element, 54–55, 57, 311–312
templates
list, 61, 69, 79, 111, 122–136, 144, 275–279
TemplateType attribute, 130
test users, 5
themes, 102
Title attribute, 111
Title field, 198
titles, default, 181
tokens, master page, 293
toolbars
standard, 152
TopNavigationBar node collection, 319, 321–322
Totals setting, 148
TreeView control, 299
Type attribute, 28, 72, 111, 130–131, 213
TypeDisplayName property, 222
TypeName property, 221
U2U CAML Query Builder (CQB), 31–32
unghosting, 65
Unique attribute, 131
UrlAction child element, 93
URLEncode attribute, 154
URLEncodeAsURL attribute, 154
user controls, ASP.NET, for rendering, 245–247
delegate controls and, 103–105
features and, 101
menu and list customization, 84–96
using control templates for, 96–100
UseRootFolderForNavigation attribute, 132–133, 313
V2ListTemplateName attribute, 195
variables, context of, 161
versioning, 113
VersioningEnabled attribute, 113
ViewBody element, 158, 159, 163–166
View element, 78
ViewEmpty element, 159
view styles, 149
ViewFields element, 158
ViewFooter element, 158, 163–166
ViewHeader element, 158, 163–168, 226
views, 78
adding content to, 151
creating through web interface, 147–150
excerpts, 174
grouping, 147–148, 168–171, 335
limiting items in, 147
permissions and security, 171–173
Totals setting, 148
virtual environment, 230
Virtual PC, 339
virtual servers, 339
VisibilityFeatureDependency attribute, 56
Visual Studio, 339
creating basic features in, 35–37
WSPBuilder Extensions for, 12–14
VMware Server, 339
web applications, setting up, 15–16
WebFeatures attribute, 67
adding site columns using, 209
creating views through, 147–150
exporting, 77
working with, in site definition, 74–78
zones, 77
WebPart tag, 75
WebPartOrder attribute, 74
WebPartPage class, 294
WebPartZoneId attribute, 74, 151
web scope, 191
web-scoped features, 37
webtemp.xml files, 51, 53–56, 63, 83, 310
WelcomeNames table, 72
WelcomePage property, 132–133, 313–315
Windows XP, 3
Workflow folder, 53
workflows, attaching folders to, 189
WSPBuilder, 5, 12–14, 237, 325–329
WSP schema file, 5
WSS schema file, 5
wss.xsd schema, 199
XAML (Extensible Application Markup Language), 20
XML (Extensible Markup Language), 19–33
attributes, 23
dialects, 29
storing markup in XML documents, 25–26
well-formed vs. validated documents, 27
XmlDocuments element, 193, 199–203, 332
XName attribute, 212
xs:all element, 29
XSL (Extensible Stylesheet Language), 20
XSLT (Extensible Stylesheet Language Transformations), 32–33