Free Sample
+ Collection

Advanced Microsoft Content Management Server Development

Andrew Connell, Angus Logan, Lim Mei Ying, Stefan Goßner

This book has the most in depth-coverage of important MCMS development topics found anywhere. Each author of the book is a renowned expert in the area
RRP $35.99
RRP $59.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781904811534
Paperback544 pages

About This Book

  • Learn directly from recognized community experts
  • Extensive coverage of the Publishing API (PAPI)
  • Get Sharepoint and MCMS working together
  • InfoPath, RSS and hot topics covered

Who This Book Is For

This book is written for developers who want to the skills to fully exploit the power of MCMS and SPS. The book presumes a working knowledge of MCMS, the .NET Framework and familiarity with the C# language. All the code examples are in C#.

Table of Contents

Chapter 1: Introduction
What This Book Covers
What You Need for This Book
Reader Feedback
Customer Support
Chapter 2: Building CMS Explorer
A Central Administrative Tool: CMS Explorer
Creating the Workspace
The Four MCMS Publishing Modes
Specifying the Parent Container
Rendering Collections in a DataGrid
Using Reflection to List Properties and their Values
Updating Property Values
Chapter 3: Managing Channels and Postings with the PAPI
Managing Channels and Postings
Creating Postings
Copying Postings
Moving Postings
Chapter 4: Managing Templates, Template Galleries, and Resources
Managing Template Galleries and Templates
Managing Resources
Deleting Objects
Chapter 5: Preparing Postings for Search Indexing
Influencing Search Engines with the ROBOTS META Tag
Outputting META Tags
Configuring Templates to Allow Postings to Return Accurate Last Modified Time
Increasing Search Accuracy by Generating Search Engine Specific Pages
Tips for Search Engine Optimization
Chapter 6: Searching MCMS with SharePoint
MCMS Search Options
Microsoft SharePoint Portal Server Search
Preparing the MCMS Site for Indexing
Configuring SharePoint Portal Server Search
Adding a Search Page to the MCMS Site
Chapter 7: Publishing Content Between MCMS and SharePoint
Using MCMS and SharePoint Together
Joining MCMS and SharePoint in a Single Solution
Using SharePoint to Display MCMS Content
Using MCMS to Display SharePoint Content
Chapter 8: Building SharePoint Web Parts
The SharePoint MCMS Navigation Control
Preparing the Development Environment
Creating the Web Part Project
Creating the Web Part
Defining Custom Properties for the Web Part
Developing Custom Properties for the Web Part
Building the Data Layer
Building the Presentation Layer
Web Part Deployment
Adding Our Web Part to a Page
Configuring the Web Part
Debugging the Web Part
Chapter 9: Useful Placeholder Controls
Before We Begin
A Date-Time Picker Placeholder Control
A Placeholder Control for Multiple Attachments
An Image Rotator Placeholder Control
A Placeholder Control to Store All HTML Tags
A DataGrid Placeholder Control
Chapter 10: Validating Placeholder Controls
Limitations of the ASP.NET Validation Controls
The MCMSValidators Project
Validating the HtmlPlaceholderControl
Preventing Pages with Invalid Content from Being Saved
Implementing Server-Side Validation
Validating the SingleImagePlaceholderControl
Validating the SingleAttachmentPlaceholderControl
Chapter 11: Staging Static Pages
Site Stager in Brief
The ASP.NET Stager Application
Chapter 12: InfoPath with MCMS Web Services
Project Overview
What are ASP.NET Web Services?
Creating the MCMS Web Service Project
Creating the Business Layer
Creating the ASP.NET Web Service
Preparing the InfoPath Environment
Creating the InfoPath Document
Creating the Controls in InfoPath
Cleaning up the Generated Form
Testing the InfoPath Form
Possible Enhancements to this Solution
Chapter 13: MCMS and RSS
Looking Ahead
The Structure of an RSS Feed
Providing Content as an RSS Feed
Aggregating an RSS Feed into MCMS
Chapter 14: Essential How-Tos, Tips, and Tricks
Tip #1: How to Revert a Posting to a Previous Version
Tip #2: How to Change a Posting’s Template
Tip #3: How to Build a Recycle Bin
Tip #4: How to Deal with Links to Deleted Resources
Tip #5: How to Generate a Resource Dependency Report
Tip #6: How to Update Posting Properties Directly from a Template File
Tip #7: How to Re-write Unfriendly URLs as Friendly URLs
Tip #8: How to Export Resource Gallery Items using the Site Deployment API
Tip #9: How to Configure the Position and Size of the Web Author Console Dialogs
Tip #10: How to Get Frames and IFrames to Work Correctly in a Template File

What You Will Learn

  • Extensive coverage of the Publishing API (PAPI)
  • Managing Channels and Postings with the PAPI
  • Managing Templates, Template Galleries, Resources, and Users with the PAPI
  • Getting Sharepoint and MCMS to work together
  • Publishing content between MCMS and SharePoint
  • Preparing postings for search indexing
  • Creating Sharepoint Web Parts to display MCMS data
  • Creating powerful custom Placeholder Controls
  • Adding validation to Placeholder Controls
  • Combining InfoPath, Web Services and MCMS's robust content repository
  • Using RSS to syndicate content from your site, and display content from other sites
  • Staging static versions of your pages
  • A further 60 pages of invaluable MCMS tips and tricks


In Detail

Microsoft Content Management Server 2002 is a dynamic web publishing system with which you can build websites quickly and cost-efficiently. MCMS provides the administration, authoring, and data management functionality, and you provide the website interface, logic, and workflow.  Microsoft SharePoint Portal Server (SPS) also features in the book. SPS 2003 enables enterprises to deploy an intelligent portal that seamlessly connects users, teams, and knowledge so that people can take advantage of relevant information across business processes to help them work more efficiently.

You've mastered the basics of MCMS, and setup your own MCMS installation. You've only scratched the surface. This book is your gateway to squeezing every penny from your investment in MCMS and SPS, and making these two applications work together to provide an outstanding richness of content delivery and easy maintainability.

As a developer, the Publishing API (PAPI) is at the heart of your work with MCMS, and this book starts by taking you on the most detailed tour of the PAPI you will find anywhere. As a live example, a component that reveals the structure of your MCMS site is created, taking you through how to manage the common elements of MCMS programmatically.

Getting SharePoint and MCMS to work together is the next stop in the book. You will see how to use SharePoint's search engine to search MCMS content, publish content between the two systems, and create SharePoint Web Parts to draw content from MCMS.

To ease your everyday work with MCMS, there are chapters on placeholder validation, and some useful custom placeholders for common MCMS tasks, such as a date-time picker, a placeholder for multiple attachments, and a DataGrid placeholder among others.  

There are a number of ways to consume MCMS content from the outside world, and we look at two exciting ways here; RSS and InfoPath/Web Services. The InfoPath solution provides another interface to MCMS content that allows content authors to concentrate on content and not the presentation.

The book is rounded off with a number of must-have MCMS tips and tricks.

  • Revert a posting to a previous version
  • Change a posting�??s template
  • Build a recycle bin
  • Deal with links to deleted resources
  • Update a posting�??s properties directly from a template file
  • Re-write ugly URLs to friendly URLs
  • Export resource gallery items using the site deployment API (SDAPI)
  • Configure the position and size of the Web Author Console Dialogs
  • Get frames and IFrames to work correctly in a template file


Read More