Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Sharepoint Approval Flow Button Folder Structure Issue

(0) ShareShare
ReportReport
Posted on by

Hi all, 

 

I have built an approval flow for files in my Sharepoint library. The flow is initiated by manually.


The flow now works fine, and I have made a button in the library to start the flow. 

 

However, I have a problem. The folder that I want my approval button to apply for, is a subfolder in a library. 

 

Now the button I have made shows for all levels of the folder.

 

Like this: 

 

Level 1 (Library)

Folder 1 Action Button.png

Level 2

Folder 2 Action Button.png

Level 3

Folder 3 Action Button.pngLevel 4

Folder 5 Action Button.png

 

The folder "Bank_Rec_Excel" is the only place where I want the button to show, and where I want the approval flow to be initiated from!

 

I have scavenged the internet but cant figure out how to do this. Currently the approval flow shows on all levels and can be initated on any file.

 

(I know this is kind of a sharepoint question, but I believe a lot of people will face excactly this issue when using flow buttons in sharepoint). 

 

Would appreciate any assistance!

Best,

 

Morten

 

  • Verified answer
    v-yamao-msft Profile Picture
    on at
    Re: Sharepoint Approval Flow Button Folder Structure Issue

    Hi @Anonymous ,

     

    Do you wan to trigger the flow when files within a specific folder is selected?

     

    I have figured out the following workaround for your reference.

     

    As the files are stored in a specific folder, so you could consider adding a Condition to check if the selected file folder path equals to the specific folder path. If yes, do the following actions, if no, do nothing.

     

    An image for your reference:

    1.PNG

     

    Best regards,

    Mabel          

     

  • RobElliott Profile Picture
    10,153 Super User 2025 Season 1 on at
    Re: Sharepoint Approval Flow Button Folder Structure Issue

    As one of the responses said, you can easily hide a column via views but that's not the same as it not being there at all in a folder. Another response used javascript, so if you wanted to do this you've need to be in the classic experience as there is no Content Editor Web part in the modern experience.

    Rob
    Los Gallardos

  • Community Power Platform Member Profile Picture
    on at
    Re: Sharepoint Approval Flow Button Folder Structure Issue

    Hi @RobElliott ,

     

    Thanks a lot for your answer

     

    How certain are you about this?


    I saw this suggestion on another forum today:

     

    Suggestion 1

     

    and this one:

     

    Suggestion 2

     

    However, I'm still not able to do it. But it leads me to believe its possible, just difficult.. unless something has changed of course...

     

    Someone else that are able to decipher the suggestions made in these links or have solved this themselves? 

     

    Best,

    Morten

     

  • RobElliott Profile Picture
    10,153 Super User 2025 Season 1 on at
    Re: Sharepoint Approval Flow Button Folder Structure Issue

    Hi @Anonymous you can't do this because folders within a document library all act the same, you can't do something different for one folder, like the button, but not for another. 

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492