Article ID: 948324 - Last Review: March 14, 2008 - Revision: 1.0

You cannot use the ItemUpdating event to retrieve an updated value in SharePoint Server 2007 or in Windows SharePoint Services 3.0

On This Page

Expand all | Collapse all

SYMPTOMS

In Microsoft Office SharePoint Server 2007 or in Microsoft Windows SharePoint Services 3.0, you cannot use the ItemUpdating event to retrieve an updated value. For example, you cannot use the properties.AfterProperties["vti_title"] property to retrieve the updated title of a page.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the problem

  1. Create a new site by using the Publishing template.
  2. Click Site Actions, point to Site Settings, and then click Modify Pages Library Settings.
  3. Click Versioning settings.
  4. Under Content Approval, click No.
  5. Under Document Version History, click Create major and minor (draft) versions.
  6. Under Draft Item Security, click Only users who can edit items.
  7. Under Require Check Out, click Yes.
  8. Click OK.
  9. Create two new pages, and then verify that each page has a different title.
  10. Create an event receiver that traps the ItemUpdating event.
  11. Use the properties.BeforeProperties property and the properties.AfterProperties property to retrieve the title of a page.

    Notice that both properties return the same value.

APPLIES TO
  • Microsoft Office SharePoint Server 2007
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kbbug kbtshoot kbprb KB948324
 

Article Translations