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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint Approval Fl...
Power Automate
Answered

Sharepoint Approval Flow Button Folder Structure Issue

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

 

Categories:
I have the same question (0)
  • RobElliott Profile Picture
    10,485 Super User 2026 Season 1 on at

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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,485 Super User 2026 Season 1 on at

    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

  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    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          

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard