Skip to main content
felixr
Inspiring
Oct 6, 2022 2:17 PM UTC
Solved

Is there a way of changing a SharePoint folder name ?

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

    Participating Frequently
    Jul 21, 2023 3:08 PM UTC

    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
    }
    )

    7 replies

    Participating Frequently
    Jul 21, 2023 3:08 PM UTC

    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
    }
    )

    felixr
    felixrAuthor
    Inspiring
    Jul 21, 2023 3:16 PM UTC

    Thanks for your answer [mention:b193ec7b482d482b93cb9da3112fca42:e9ed411860ed4f2ba0265705b8793d05]