Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Use a button to patch a value to a SharePoint List

(1) ShareShare
ReportReport
Posted on by 24
Hi,
I have a gallery to view different items from a SharePoint list. The employees can fill out and edit forms inside different screens. On the general overview gallery, I want to add a button to highlight an item.
I've built a column inside of my SharePoint list with a checkbox. I want to patch the correct value to this column so the item that is currently viewed is highlighted. The highlighted part is already built. 
 
I tried different formulas but none of them worked. How can I fix this? 
  • Suggested answer
    Michael E. Gernaey Profile Picture
    40,803 Super User 2025 Season 1 on at
    Use a button to patch a value to a SharePoint List
    Hi
     
    You said the highlight part is already built, so does that mean its actually highlighted by the CheckBox is not checked?
     
    Or are you saying you have code in the Template property so that "if" the checkbox is set to checked, then it will make the highlight text work?
     
    Not enough clarity.
     
    If they have the galleries OnSelect patch the back end and then refresh and have it be selected.
     
  • mmbr1606 Profile Picture
    12,104 Super User 2025 Season 1 on at
    Use a button to patch a value to a SharePoint List
    can u please give more details and maybe show screenshots to explain what you are after?
     
    did u already have any patch code with error messages or so? if yes share too using the "Insert code snippet" icon.
     
     
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,948 Most Valuable Professional

Leaderboard