Suppose one document is uploaded to the Shared Document library, I need to move the document to an other library say List. There I have to create a folder with the document name and needs to place the document inside that folder. How to do this using event receiver?Please help.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
|
I would recommend that you instead look at the Document Routing features in SharePoint 2010 instead of building custom code. See: http://technet.microsoft.com/en-us/library/ff608093.aspx I think the Document Routing can take care of all your requirements, without a single line of code :-) |
|||
|
|
Besides Wictor's solution you could also envision another no-code solution by using a SharePoint Designer 2010 Workflow with activity "Copy List Item". C:\Marius |
|||
|
|