web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Parent Folder Path

(0) ShareShare
ReportReport
Posted on by 6
Hello Everyone!
 
  Hoping you guys can provide some guidance.  I'd like to build a flow that captures when a file/folder it created or modified within sharepoint, then writes some information (modified datetime, file name, ect...) to a doc in the parent folder.  I can get it working to write the information into doc within the same folder of the modified document, but not the parent folder.  Example below is similar layout within sharepoint and where I'd like to have the information doc written do.  Keep in mind there could be 0 to 100 subfolders, the subfolders varies.
 
  • Documents (folder)
    • Site (folder)
      • Site (folder)
        • Plan A (folder) ->Write update doc here if any new/modified files/folder are made anywhere under Plan A
          • file 1
          • file 2
        • Plan B (folder)->Write update doc here if any new/modified files/folder are made anywhere under Plan B
          • Sub 1 (folder)
            • file 1
          • Sub 2 (folder)
            • file 1
            • file 2
            • file 3
          • file 1
        • Plan C ->Write update doc here if any new/modified files/folder are made anywhere under Plan C
          • Sub 1 (folder)
            • file 1
        • Plan D ->Write update doc here if any new/modified files/folder are made anywhere under Plan D
          • Sub 1 (folder)
            • file 1
            • file 2
          • Sub 2 folder)
            • file 1
          • Sub 3 (folder)
            • file 1
          • Sub 4 (folder)
            • file 1
            • file 2
            • file 3
            • file 4
          • file 1
So far the flows I'm using are:
-- When a file is created or modified (properties only)
-- Create File
 
Thank you in advance!
Categories:
I have the same question (0)
  • abc 123 Profile Picture
    784 Moderator on at
    Welcome to the greatest raging debate to hit the internet, well... before that singer started dating that football player, anyway. 
     
    MetaData vs Folders.
    Why are you using folders, and not metadata? (Security is a perfectly sound answer, and about the only one that makes sense.)
     
    Anyway, there's a bunch of http calls/Actions you can make to obtain the folder information. 
     
    Try all of these:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard