PacktLib: Advanced Microsoft Content Management Server Development

Advanced Microsoft Content Management Server Development

Credits

About the Authors

About the Reviewers

Introduction

What This Book Covers

What You Need for This Book

Conventions

Reader Feedback

Customer Support

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

Summary

Managing Channels and Postings with the PAPI

Managing Channels and Postings

Creating Postings

Copying Postings

Moving Postings

Summary

Managing Templates, Template Galleries, and Resources

Managing Template Galleries and Templates

Managing Resources

Deleting Objects

Summary

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

Summary

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

Summary

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

Summary

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

Summary

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

Summary

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

Summary

Staging Static Pages

Site Stager in Brief

The ASP.NET Stager Application

Summary

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

Summary

MCMS and RSS

Looking Ahead

The Structure of an RSS Feed

Providing Content as an RSS Feed

Aggregating an RSS Feed into MCMS

Summary

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

Summary

Setting up MCMS and SPS on the Same Virtual Server

Setting up MCMS and SPS on the Same Virtual Server

Setting up MCMS and SPS on the Same Virtual Server

Setting up MCMS and SPS on the Same Virtual Server

Setting up MCMS and SPS on the Same Virtual Server

Setting up MCMS and SPS on the Same Virtual Server

Setting up MCMS and SPS on the Same Virtual Server

Setting up MCMS and SPS on the Same Virtual Server

Setting up MCMS and SPS on the Same Virtual Server

MCMS Connector for SharePoint Technologies

MCMS Connector for SharePoint Technologies

MCMS Connector for SharePoint Technologies

MCMS Connector for SharePoint Technologies

MCMS Connector for SharePoint Technologies

MCMS Connector for SharePoint Technologies

MCMS Connector for SharePoint Technologies

MCMS Connector for SharePoint Technologies

Installing the Tropical Green Website

Installing the Tropical Green Website

Installing the Tropical Green Website

Installing the Tropical Green Website

Installing the Tropical Green Website

Installing the Tropical Green Website

Installing the Tropical Green Website

Installing the Tropical Green Website

Installing the Tropical Green Website

Index