1

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.

1

2 Answers 2

2

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 :-)

1
  • I appreciate the suggestion Wictor and it's a great OOB functionality that SharePoint is offering. In my case though i need to do a little more than just move the documents. I also need to give item level permissions to user groups in the subsites. Any help would be highly appreciated. Thanks in advance.
    – user8240
    May 8, 2012 at 7:26
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.