Int countVersions = .Count Ĭolumn.SetFieldValue(itemJustAdded, taxFieldValueColl.First()) Ĭolumn. SPUser userCreatedBy = sourceFile.Author ĭateTime dateCreatedOn = () To move file from source library to destination through Event handler Also, there's more detail now in the Microsoft article Move or copy files in SharePoint. Update : As mentioned in a comment, you may not see the modern experience unless you make a change to the library settings. A file or group of files moved this way will retain version history. Welcome to the November 2021 release of Visual Studio Code. Downloads: Windows: User System Arm64 Mac: Universal Intel silicon Linux: deb rpm tarball Arm snap. You can now select a file or group of files in the modern experience in OneDrive or SharePoint and select Move to. Update 1.63.2: The update addresses these issues. Update : There's a new solution in Office 365. Modern solutionįor modern SharePoint experiences, use Move To. I'm trying to merge the two document libraries into one, but I want to retain the versions.ĭo you know of a way to complete this without third party tools or custom code? I've heard suggestions of using Explorer View copy and paste, SharePoint Designer and List Templates, but I'm not sure any of those will carry version info. When I copy a document from library A to Library B using the Content and Structure tool from Site Settings, my versions do not carry over.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |