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 Automate
Answered

Help with a button

(1) ShareShare
ReportReport
Posted on by 12
 

In my SharePoint site, I have a folder within the "Shared Documents" library, and inside this folder, there is a subfolder containing various images.

I created a flow to perform specific actions on the images within the subfolder. To trigger the flow, I added a column (configured as a button), and clicking the button initiates the flow.

However, I am facing an issue: the button is also appearing in the parent folder, which I do not want. How can I get rid of it. Thanks in advance .

 

My subfolder pic (I added the "Run" button here)

 

 

Parent folder pic: I don't want the "Run" button here.

 

 

Categories:
  • Suggested answer
    Robu1 Profile Picture
    1,722 Super User 2026 Season 2 on at
     
    Thank you for choosing Microsoft Power Platform Community.
     
     
    To remove the button from the parent folder while keeping it in the subfolder, you can try the following steps:
     
    Break Inheritance: Navigate to the parent folder where you don't want the button to appear. Go to the folder's settings and stop inheriting permissions from the parent. This will allow you to set unique permissions for this folder.
     
    Adjust Permissions: Once you've broken the inheritance, you can adjust the permissions so that the button column is not visible in the parent folder. You can do this by modifying the column settings or using custom scripts to hide the button.
     
    Custom Scripts: If you're comfortable with using custom scripts, you can use SharePoint Framework (SPFx) extensions to hide the button in the parent folder. This involves writing a script that targets the specific HTML element of the button and hides it.
     
    Please view answers:
     
     

    If this fixes the issue, please mark as resolved to help others with find it.
     
    Happy to help
     
    Robu 1
  • Verified answer
    CFernandes Profile Picture
    8,504 Most Valuable Professional on at
     
    I assume you are using Column Formatting, in SharePoint? If yes, from that I know, You can apply conditions based on either [$ContentType] or [$ContentTypeId]
     
     
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
     

    Does this answer your question? Check the box :-)
     

     
     
    P.S. take a look at my blog here and like & subscribe to my YouTube Channel 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard