SharePoint: Performance problems Using Data Form Web Parts on Publishing pages

Symptoms

Consider the following scenario:

  • Using SharePoint Designer you customize a list view web part and convert it to data form web part
  • You export the final customized web part as a '.webpart' file
  • You create a publishing page in a publishing web and import the '.webpart' file
  • The site collection that contains this publishing page is visited by several thousand authenticated users
  • When you go to check-out this page, the operation might take several minutes to complete and potentially time-out

Cause

Data form web parts set an internal property to load and cache all active users of the site collection to improve rendering performance. However, on publishing pages and publishing sites, this can lead to reloading all active users when the checked-out item is stored in the object cache. Reloading of several thousand users from the content database increases the time it takes to render the publishing page when it is checked out.

Resolution

Use Content Query Web Part to display customized list data on publishing pages.

More Information

How to: Customize the Content Query Web Part by using Custom Properties
http://msdn.microsoft.com/en-us/library/aa981241(v=office.12).aspx

How to: Customize the SharePoint Content By Query Web Part by Using Custom Properties (ECM)
http://msdn.microsoft.com/en-us/library/aa981241(v=office.14).aspx

Properties

Article ID: 2656655 - Last Review: Feb 29, 2012 - Revision: 1

Microsoft Office SharePoint Designer 2007, Microsoft Office SharePoint Server 2007

Feedback