Wednesday, October 17, 2007

MCMS Migration to MOSS: Telerik RadEditor Content Appears as Decoded HTML

If you use RadEditor from Telerik in MCMS, and you migrated your content to MOSS, you will notice that your HTML tags are stored in a decoded format. "~LT~" and "~GT~" are especially noticeable as they represent the "<" and ">" characters.

Some have suggested running a script against the MCMS database to resolve the problem but I highly advise you against this approach; your support agreement with Microsoft would become void.

An alternative would be to format the custom fields' content on the MOSS site after the migration. Gary Lapointe provides sample code for custom commands to use with the STSADM tool to do just that.

A word of caution: Gary uses regular expressions, and so you need to be aware of some of nuances, such as escaping the "~" with "\".