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 Apps / Formatting a column in...
Power Apps
Unanswered

Formatting a column in a SharePoint library

(0) ShareShare
ReportReport
Posted on by 208

Hello everybody,

 

Please can you help me with the following situation?

 

I have a column in a SharePoint library in which I have added a button flow. The button will be visible if the column value (Document status) is not equal with Approved.

Now, I would like to make the butto visible if:

1.  the column value (Document status) is not equal with Approved

2. the column "Approvers" is not empty (where the type column for Approvers is person)

 

Please see below the JSON scheme:

{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "span",
"style": {
"color": "#001f00"
},
"children": [
{
"elmType": "button",
"style": {
"border": "light",
"background-color": "Orange",
"color": "#001f00",
"cursor": "pointer",
"visibility": {
"operator": "?",
"operands": [
{
"operator": "!=",
"operands": [
"[$Document_x0020_status]",
"Approved"
]
},
"visible",
"hidden"
]
}
},
"txtContent": "Send to Approval",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"53c665d0-ce12-4148-aa5a-c7202557ea78\"}"
}
}
]
}

 

Thank you

Claudia

 

 

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @claudia 

    This sounds like a Power Automate question rather than a PowerApps question. I suggest you post this in the Power Automate Community instead. You’ll get a quicker and better response over there

    Link to Power Automate Community
    https://powerusers.microsoft.com/t5/Get-Help-with-Power-Automate/ct-p/FL_GeneralDiscussions

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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 Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard