Microsoft SharePoint[c] Building Office 2003 Solutions
Chapter 4: SharePoint Content Development
- Listing 4-1: A Web Service Returning XML
Chapter 5: Building Web Parts
- Listing 5-1: Creating a Property in C#
- Listing 5-2: Defining a Web Part Property
- Listing 5-3: Adding ASP.NET Controls to a Web Part
- Listing 5-4: Adding ASP.NET Controls in C#
- Listing 5-5: Rendering ASP.NET Controls in an HTML Table
- Listing 5-6: Defining a New Policy
- Listing 5-7: Controls Marked As Safe
- Listing 5-8: The Web Part Description File
- Listing 5-9: Starting the Web Part in PageView.cs
- Listing 5-10: Defining the Properties
- Listing 5-11: The Web Part Description File
- Listing 5-12: Starting the Web Part in PubsAuthors.vb
- Listing 5-13: Defining the Properties
- Listing 5-14: Creating Child Controls
- Listing 5-15: Rendering the Web Part
Chapter 6: The Microsoft Single Sign-On Service
- Listing 6-1: Listing Application Definitions
- Listing 6-2: Displaying Field Information
- Listing 6-3: Updating Credentials
- Listing 6-4: Defining the Properties
- Listing 6-5: Creating Child Controls
- Listing 6-6: Rendering the Web Part
Chapter 7: Advanced Web Part Development
- Listing 7-1: Creating a Client-Side Script
- Listing 7-2: Declaring Interfaces
- Listing 7-3: Registering an Interface
- Listing 7-4: Receiving Connection Notification
- Listing 7-5: Broadcasting Schema Information
- Listing 7-6: Sending Data
- Listing 7-7: Receiving the Data
- Listing 7-8: Returning Field Data
- Listing 7-9: The Default Implementation of GetToolParts
- Listing 7-10: Overriding the GetToolParts Method
- Listing 7-11: Creating the HTML and Script
- Listing 7-12: Creating the Hyperlink
- Listing 7-13: Starting the Web Part
- Listing 7-14: Adding the Event Stubs
- Listing 7-15: Creating Child Controls
- Listing 7-16: Registering Interfaces
- Listing 7-17: The PartCommunicationConnect Method
- Listing 7-18: Providing Transformer Metadata
- Listing 7-19: Sending Schema Information
- Listing 7-20: Sending a Row of Data
- Listing 7-21: Returning Book Information
- Listing 7-22: Rendering the Web Part
- Listing 7-23: The Simple Web Part
- Listing 7-24: Creating the Child Controls
- Listing 7-25: Coding the Button Events
- Listing 7-26: Adding the Tool Part to the Property Pane
Chapter 8: The Microsoft Office System
- Listing 8-1: A Simple Schema
- Listing 8-2: A Schema for Address Labels
- Listing 8-3: A Manifest File
- Listing 8-4: Registration Response XML Stream
- Listing 8-5: Processing the XML Query Stream
- Listing 8-6: A Query Response Stream
- Listing 8-7: The Initial Code
- Listing 8-8: The Schema for the Smart Invoice
- Listing 8-9: The SmartDocXmlTypeName Property
- Listing 8-10: The SmartDocXmlTypeCaption Property
- Listing 8-11: The ControlCount Property
- Listing 8-12: The ControlID Property
- Listing 8-13: The ControlCaptionFromID Property
- Listing 8-14: The ControlTypeFromID Property
- Listing 8-15: Setting Button Captions
- Listing 8-16: Populating the List
- Listing 8-17: Populating the Text Boxes
- Listing 8-18: Handling Events
- Listing 8-19: The Manifest File
- Listing 8-20: Starting the Project
- Listing 8-21: The Response Template
- Listing 8-22: The Registration Method
- Listing 8-23: The Query Response Envelope
- Listing 8-24: The Query Method
- Listing 8-25: Packaging the Result Set
Chapter 9: Programming SharePoint Services
- Listing 9-1: Trapping Library Events
- Listing 9-2: Changing the Identity Context
- Listing 9-3: Writing Out Metadata Values
- Listing 9-4: Typical Metadata Values for a Word Document
- Listing 9-5: Accessing SPListItem Fields
- Listing 9-6: Typical SPListItem Fields and Values
- Listing 9-7: Moving Documents
- Listing 9-8: Determining List Item Ownership
- Listing 9-9: Creating a Document Workspace
- Listing 9-10: Workspace Creation Response
- Listing 9-11: The WorkFlow.Engine Class
- Listing 9-12: Creating the Impersonation Identity
- Listing 9-13: The OnEvent Method
- Listing 9-14: The Web Part Description File
- Listing 9-15: Starting the Project
- Listing 9-16: The ShowAllSites Property
- Listing 9-17: Creating the Child Controls
- Listing 9-18: Creating a New Identity
- Listing 9-19: Declaring Initial Objects
- Listing 9-20: Changing the Web Part Identity
- Listing 9-21: Enumerating Child Sites
- Listing 9-22: Displaying the Subsites
- Listing 9-23: The Web Part Description File
- Listing 9-24: The Initial Class Code
- Listing 9-25: Creating the Child Controls
- Listing 9-26: Changing the Web Part Identity
- Listing 9-27: Enumerating the Tasks
- Listing 9-28: Displaying the Task List
- Listing 9-29: The Web Part Description File
- Listing 9-30: Starting the Project
- Listing 9-31: Creating the Child Controls
- Listing 9-32: Displaying Current User Information
- Listing 9-33: Updating the User Information
Chapter 10: SharePoint Portal Server Administration
- Listing 10-1: The Site Notification Message
Chapter 11: Office Solution Accelerators
- Listing 11-1: Defining a Document Section and Attributes
- Listing 11-2: The Document Schema
- Listing 11-3: Web Service for Resume Submittal
Категории