Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Move file between folders in a Document Library in Sharepoint 2010

  Asked By: Sunil    Date: Apr 26    Category: Sharepoint 2010    Views: 25147


I have a Sharepoint Document Library. In which I have two folders, i.e. Test1, Test2. Test1 contains a file i.e file1.txt. I want to move this file to Test2 folder using workflow. I tried to create workflow in Sharepoint Designer 2010, but not succeed. How can I achieve this or is there ant other way to move Item/File from one folder to another.

Sunil Dhiman



1 Answer Found

Answer #1    Answered By: Sirisha Reddimasi     Answered On: May 10

You can use customize work flow to do this one.

If not you can customize code in the below way.

1. Once file is submitted for approval, move this file using splistitem.move to Test2 folder.
2. Once its approved, again move this file from test 2 to test 1.

You can maintain some column like Approval Status to check the status