Monday, 8 September 2008

Authored Links Don't Update Between Environments - Resolved

We've found a solution to the authored links problem I blogged about in August, with assistance from Microsoft Sharepoint Support (thanks go out to Arian Nevjectic and Jason Brown for communicating with the product team, and to Matt in my team for getting to the bottom of this).

The FieldId elements defining the columns in question were missing two attributes: RichText="TRUE" and RichTextMode="FullHtml". New sites based on this template are now working correctly but MS has recommended we not change the site template for the sake of existing sites. We're therefore exporting content, recreating the site, and importing content back in--a hassle but should do the trick.

<Field
ID="{EE8A6F4B-E0B9-4aa8-B923-967D25CE1154}"
Type="HTML"
Group="Custom"
Name="PublishingPageContentBottom"
DisplayName="Publishing Page Content Bottom"
StaticName="PublishingPageContentBottom"
Hidden="FALSE"
Required="FALSE"
Sealed="FALSE"
RichText="TRUE"
RichTextMode="FullHtml"

/>

The MSDN documentation currently reflects this structure but I'm not positive it did previously... our mistake either way but at least it's fixed now and the doco is accurate.

6 comments:

  1. Good for people to know.

    ReplyDelete
  2. Frederik MunsterTuesday, May 05, 2009

    Hi,

    How did you export all the content? With content deployment or with a custom tool?

    thx!

    ReplyDelete
  3. Hi Frederik--

    One of the guys on my team wrote a custom throwaway app using the API but you might be able to use the SharePoint Content Deployment Wizard (http://www.codeplex.com/SPDeploymentWizard). It will create a backup file of your content you can later import into your site.

    ReplyDelete
  4. Frederik MunsterWednesday, May 06, 2009

    Hi Michhes,

    Thx for your feedback. When I try it with content deployment, the problem stays with the imported files. New pages works fine after.

    kind regards,
    Frederik

    ReplyDelete
  5. Hmm--that makes sense if the content deployment technique is importing the *same* page and its associated bits. Our API-based app exports page content field by field, creates a new page, and populates the new page with the exported content.

    ReplyDelete
  6. Frederik MunsterWednesday, May 06, 2009

    Thx Michhes!

    ReplyDelete

Spam comments will be deleted

Note: only a member of this blog may post a comment.