Is there a way of changing a SharePoint folder name ?

Certified Associate Developer

it is  posible to  change a sharepoint    folder name using the  update folder metadata integration

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Senior Developer

    Yes , we can update folder name using update folder metadata integration

    in the folder path you can specify the path of the folder which you wanted to rename and the meta data you can pass  as below

    a!toJson(
    {
    "__metadata": { "type": "SP.Data.DocumentsItem" },
    /* ri!newFloderName - new foldername which you would like  to provide*/
    "Title": ri!newFolderName,
    "FileLeafRef": ri!newFolderName
    }
    )

Reply
  • +1
    Certified Senior Developer

    Yes , we can update folder name using update folder metadata integration

    in the folder path you can specify the path of the folder which you wanted to rename and the meta data you can pass  as below

    a!toJson(
    {
    "__metadata": { "type": "SP.Data.DocumentsItem" },
    /* ri!newFloderName - new foldername which you would like  to provide*/
    "Title": ri!newFolderName,
    "FileLeafRef": ri!newFolderName
    }
    )

Children