Forum Discussion

Brandccc's avatar
Brandccc
Copper Contributor
Oct 04, 2022

Auto-populating columns in SharePoint for existing files and folders

Does anyone know if there is a way to auto populate columns/metadata in SharePoint with default values for existing file and folders. I have tried by going into library settings and changed the default column settings with the value I needed. It seems to be working fine for any documents that are created after changing this setting, but isn't working for existing documents that were already in SharePoint? How can I change the column values for existing files and folders please? Can I use power automate to do this or can it be done using SharePoint?
Thanks in advance

  • pogeli3588's avatar
    pogeli3588
    Copper Contributor

    what or where might I get the right thing ID that I really want to enter?
    I have enter the right *Site Address, and *Library Name. It is only the *Id that will be that I have enter, however where might I get the right worth to enter there please, current I have quite recently entered an irregular number?

    • Brandccc's avatar
      Brandccc
      Copper Contributor

      I have tried creating a new manual tiggered workflow, then used “update file properties” but I get errors when I run it.

       


      "{
      "status": 404,
      "message": "Could not find list item.\r\nclientRequestId: 315ca606-00ee-44ff-b38e-c6e88c145930\r\nserviceRequestId: 315ca606-00ee-44ff-b38e-c6e88c145930"
      }"

      I have entered the correct site address. library and the two columns I wanted the values changed in, so am at a loss why it is not working. Using the correct username account which is owner/admin access to that site too.
      Anyone have any ideas?

      Thank you.

      • SvenSieverding's avatar
        SvenSieverding
        Bronze Contributor
        Did you also enter the correct item ID in the ID Field of the "update file properties" action?

Resources