Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
    
I got it in the following link: stackoverflow.com/questions/2565200/… –  ANP Aug 11 '11 at 10:19

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

share|improve this answer
    
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 '12 at 7:26

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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