Free Sample
+ Collection
Code Files

Building Websites with Microsoft Content Management Server

Joel Ward, Lim Mei Ying, Stefan Goßner

A fast-paced and practical tutorial guide for C# developers starting out with MCMS 2002
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 139781904811169
Paperback660 pages

About This Book

  • Learn directly from recognized community experts
  • Rapid developer level tutorials build logically through out the book
  • Develops a feature rich custom site incrementally
  • Tips and Tricks from developer newsgroups and online communities

Chapter 17 - Publishing with Authoring Connector

Who This Book Is For

This book is written for developers who are part of a dynamic organization that has decided to evaluate or deploy MCMS and require the skills to make it happen.The book presumes a working knowledge of the .NET Framework and familiarity with the C# language, but no prior knowledge of MCMS is required. To use this book, you will need access to Visual Studio. NET 2002 or 2003, SQL Server 2000, and an installation of MCMS 2002.

This book is not aimed at the specific information needs of administrators or users of MCMS.

Table of Contents

Chapter 1: Overview of Microsoft Content Management Server
Why Content Management?
The Solution—Content Management Servers
The Components of MCMS
MCMS is a Content Server
MCMS Is a Content Repository
MCMS Integrates with Visual Studio .NET
MCMS Is a Web Authoring Tool
MCMS is a Website Manager
MCMS Objects
Chapter 2: Installing Microsoft Content Management Server 2002 for the Developer
Pre-Installation Checklist for the Developer
Installing Microsoft Content Management Server 2002 with SP1a
Installing from the Released To Manufacturing version of MCMS
What has been Installed on My Computer?
Frequently Asked Questions
Chapter 3: The Database Configuration Application
The DCA Links MCMS Server to the Database
The DCA Toggles between Databases
Running the DCA for the First Time
Connecting to an Existing MCMS Database
DCA—Behind the Scenes
Chapter 4: The Server Configuration Application
Starting the SCA
Launching SCA from a Remote Machine
About the MCMS Host, Version, and Database
General Settings
Cache Settings
Web Settings
Access Settings
License Settings
Chapter 5: Setting Up a Website from Scratch
Laying the Foundations
Designing and Building the Channel Structure
Designing and Building the Template and Resource Gallery Structure
Chapter 6: Creating Templates and Postings
Something About Templates
Before We Begin
Creating the Plant Template File
Editing the Template File
Creating a Template Gallery Item
Creating the First Posting
The Difference between a Template File and a Regular ASP.NET Web Form
Chapter 7: Working with Placeholders
Using Placeholders
Before We Begin
Drafting the Prototype
The Completed Page
Linking a Stylesheet to the Template File
Chapter 8: Debugging Template Files
Before We Begin
Enable Debugging on the TropicalGreen Project
Debugging the Template File: The Wrong Way
Debugging the Template File: The Correct Way
Debugging by Starting from a URL
Solving the Problem
Removing Breakpoints
Chapter 9: Default Postings and Channel Rendering Scripts
Default Postings
Channel Rendering Scripts
Navigation URL
Wrapping up the Summary Page
Tips and Tricks
Chapter 10: Understanding the MCMS Publishing Workflow
The Eight User Roles in MCMS
Rights Groups Organize Users
Rights Groups are Assigned to Containers
The Complete Publishing Workflow when a Posting is Created
Before We Begin
Creating Rights Groups
Assigning Users to Rights Groups
Assigning Rights Groups to Containers
An Authors-Only Workflow
An Author-Editor Workflow
An Author-Editor-Moderator Workflow
Deleting Postings
One Last Thing
Chapter 11: Authoring with Microsoft Content Management Server
How Users Edit Postings
The Default Web Author Console
Editing the Hibiscus Posting
Publishing the Changed Posting
Creating a New Plant Posting
Managing Workflow
Managing Resources
Chapter 12: The Publishing Application Programming Interface
Setting Up the Work Area
The Namespaces
Accessing Objects
Using the Searches Class to Reference Any Object
Accessing Placeholder Content
Chapter 13: Building Navigation Controls
Common Navigation Controls
Menus with JavaScript—Creating the Right Menu Web User Control
A BreadCrumb Control
Generating the Entire Site Map—A TreeView Control
Chapter 14: Customizing Placeholder Controls
Before We Begin
Deriving from the BasePlaceholderControl Class
Deriving from the MCMS Placeholder Controls
Using PresentationTemplates
Creating Custom Placeholder Controls for the XmlPlaceholder
Chapter 15: Building Custom Placeholder Definitions and Placeholders
Why Build Custom Placeholder Definitions?
Before We Begin
The HtmlStrippingPlaceholderDefinition / HtmlStrippingPlaceholder Pair
Making the Placeholder Definition Available to Template Designers
Adding the HtmlStrippingPlaceholderDefinition to the Template
The HtmlStrippingPlaceholderControl Class
Trying it Out
Chapter 16: Extending the Workflow
Before We Begin
Registering Event Handlers
Monitoring Workflow Events
E-mail Notification
Canceling an Operation
Generic Event Handlers
Chapter 17: Publishing with Authoring Connector
Before We Begin
Installing Authoring Connector
Building the Column Template
The OfficeHtmlPlaceholder and OfficeAttachmentPlaceholder Definitions
Publishing from Microsoft Word
Updating the Page
Replacing Any Page
Submitting Selected Text
Maintaining a Consistent Look and Feel
Changing the Server Name
Creating Publishing Tasks
Chapter 18: Implementing Forms Authentication
About Forms Authentication
Configuring IIS to Allow Anonymous Access
Configure Settings in the Web.config File
Creating the Login Page
Logging on to the Site
The CmsFormsAuthentication Class
When Users Do Not Have Rights to View the Requested Page
When the Cookie is Deleted or No Longer Valid
Welcoming Guests to the Site
Visiting the Site as a Guest
Creating a Login/Logout Button for Authors
Creating a Login Channel for Authors
Chapter 19: Customizing the Web Author Console
Before We Begin
The Different Faces of the Web Author Console
The Console in the Seven Modes of the Web Author Context
Building Blocks of the Web Author Console
Changing the Look and Feel of the Default Console
Adding Custom Action Controls to the Console
Modifying Existing Actions
Chapter 20: Creating Connected Templates and Pages
About Connected Templates and Postings
Before We Begin
Creating Connected Templates
Creating Connected Postings
Going to a Connected Page
Connected Postings Share Workflow Processes
Alternatives to Connected Postings
Chapter 21: Aggregating Content
Create the Channel Rendering Script
Alternative Functionality
Chapter 22: Enhancing Performance with Caching
How MCMS Works with Caching
What MCMS Caches by Default
Improving Performance with ASP.NET Output Caching
Proving that Caching Enhances Site Performance
Chapter 23: Site Deployment
Using the Site Deployment Manager
Opening the Site Deployment Export Dialog
Importing Packages
Automating Deployment Using the Site Deployment API
Chapter 24: Hosting Multiple Websites and Adding SSL Security
Hosting Multiple MCMS Websites
Adding SSL Security

What You Will Learn

  • The basic concepts of MCMS
  • Preparing, installing and configuring MCMS and its supporting technologies
  • Creating an MCMS website from scratch
  • Creating and debugging templates files and channel rendering scripts
  • Working with dynamic navigation
  • Establishing user roles and rights
  • Authoring with MCMS and improving the authoring experience
  • Understanding and customizing workflow
  • Working with the Publishing API
  • Site deployment techniques
  • Enhancing your site's performance with caching


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. Once your website is up and running, your content contributors can add and edit content on their own, without the need to work with developers or the IT department.

First time developers of Microsoft Content Management Server 2002 face a relatively steep learning curve. Not only are they expected to be conversant in the Microsoft .NET Framework, they are also required to be familiar with the concepts of MCMS 2002.

Many beginners to MCMS start out by looking at the example site that ships with the product; tweaking it, dissecting it and turning it inside out using the obscure code comments as markers. However, when it comes to starting their own website from scratch, many are baffled ? where do they begin?

This book exists to answer that question; teaching the essential concepts of MCMS 2002 in a clear, straightforward and practical manner.

Containing answers to some of the most asked questions in developer newsgroups, this book is a treasure trove of tricks and tips for solving the problems faced by MCMS developers.

This is a unique resource focused exclusively on the needs of developers using MCMS. It doesn?t waste time and pages on user or administrator level information that is well covered in other documentation. It?s a distillation of practical experience that developers need to get results, fast. The authors carefully structured example project complements and extends the knowledge gained from an initial look at the examples that ship with MCMS.


Read More