Skip to content

Few SharePoint library properties missed to copy when using MoveCopyUtil feature  #8706

@vasanth92src

Description

@vasanth92src

I have used the below code to copy the files from One library to other in a SharePoint site by following the below mentioned Microsoft article,

https://learn.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.client.movecopyutil.copyfile?view=sharepoint-csom

MoveCopyOptions option = new MoveCopyOptions();
option.KeepBoth = true;
MoveCopyUtil.CopyFile(clientContext, SrcFile, DestFile, true, option);

But on few instances, the file was copied successfully to the destination library but few properties failed to get copied. Can someone please check what could be cause of this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APItype:archive-old-issueIssues which are closed as tool old for active work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions