Question

I need a functionality in which something happens after the properties of a document in document library get updated. I need some kind of event to fire after the user clicks Save button in edit form. Could someone briefly explain what do I need to use to make this logic or share some links that could help me understand where to start? I am looking for some code samples. If I am looking for an event, I know how to implement an event handler method body, I just need help with writing or getting that event or event handler itself. Thanks.

Was it helpful?

Solution

I would suggest reviewing Karine Bosch's blog posts series on SharePoint Event Receivers that includes simple Walkthroughs with Document Library Event Receivers.

OTHER TIPS

You could do this with a workflow as long as there is a logical link between the document and the list(s) like a lookup column from the list(s) to the document library item. When the document library item is edited, it looks up those lists and edits the corresponding values to keep the data in sync.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top