Hi everyone,
I'm working with a SharePoint document library that has three levels of folders and subfolders. I need to have a flow, triggered on file creation or file modification in the library, that captures each file URL, splits each folder level in the URL out into variables, and applies each variable to 4 string columns. Example screeshot below:
I'm hoping that I've provided enough information here, and that there is an easy solution to this? Any help would be really appreciated 🙂
Solved! Go to Solution.
Hi @Anonymous ,
You could use split() function to get the folder name.
split(triggerBody()?['{Path}'],'/')
outputs('FolderPath')[0]
outputs('FolderPath')[1]
outputs('FolderPath')[2]
Image reference:
Best Regards,
Hi @Anonymous ,
You could use split() function to get the folder name.
split(triggerBody()?['{Path}'],'/')
outputs('FolderPath')[0]
outputs('FolderPath')[1]
outputs('FolderPath')[2]
Image reference:
Best Regards,
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
47 | |
44 | |
43 | |
42 | |
36 |
User | Count |
---|---|
83 | |
78 | |
69 | |
51 | |
47 |