I have a set of files and folders that I have created a document library for. We use the same document library for many clients and want to set a prefix to the specific client.
For example we have the folder Year, Client Name, Project. Then we have a series of files and folders in the main folder. Each file and folder should be prefixed with the main folder name. For example the invoice file should be year client name project invoice for example.
How would I accomplish this when I create a new library using the create a document library from existing library?
Hi,
To add a prefix to all files and folders when a document library is used as a template, you can use the Get Files (Properties only) action to retrieve a list of all files in the library and then use the Apply to each action to iterate over each file and folder. You can then use the Update file properties action to add the prefix to the file or folder name.
Here are the steps to accomplish this:
Once you have completed these steps, the files and folders in the document library will have the specified prefix added to their names.
Br,
Gill