0

I have a problem with updating Splistitem fields only when i save as via Office Word a document to Sharepoint in my Event receiver.

it's works when i add the document from Sharepoint.

here is my Code :

    public override void ItemAdded(SPItemEventProperties properties)
    {
        base.ItemAdded(properties);
        properties.ListItem["Status"] = "Approved";
    }
Alexis Pigeon
  • 7,423
  • 11
  • 39
  • 44
souf
  • 11
  • 1

1 Answers1

1

Don't forget to update your list item in order for changes to save. http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.update.aspx shows you the full functionality.