Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Update a sharepoint list

(0) ShareShare
ReportReport
Posted on by 375

Following on from my previous post I am having difficulty updating my sharepoint list when I use an Icon as a button.

 

I have added an icon into my gallery which, when pressed, will change the status of my permit to closed. The formula I have used, and doesn't work is " Update('Permit Tracker',Status,Value="Completed") ". The status is in the form of a choice column (Closed,Open, Planned)

 

Thanks in advance for helping out a noob 🙂 

  • nshaw75 Profile Picture
    375 on at
    Re: Update a sharepoint list

    @Gochix  Fantastic thank you very much, It's worked a treat 😊

  • Verified answer
    Gochix Profile Picture
    1,933 Super User 2025 Season 1 on at
    Re: Update a sharepoint list

    Then you can try it using UpdateIf:

    UpdateIf('Permit Tracker',ID = ThisItem.ID,{Status:{Value: "Closed"}})


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • nshaw75 Profile Picture
    375 on at
    Re: Update a sharepoint list

    nshaw75_0-1711729266283.png

    The 'Button' is actually an icon inside the gallery as in this tree view . 

    nshaw75_1-1711729391253.png

     

     

  • Gochix Profile Picture
    1,933 Super User 2025 Season 1 on at
    Re: Update a sharepoint list

    Can you show us a screenshot of your gallery + button. The formula I provided is expecting that you have a button for each row in the gallery.

     


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • nshaw75 Profile Picture
    375 on at
    Re: Update a sharepoint list

    Hi @Gochix thanks for your help, it is much closer than I managed to get. When I test the update fails and returns an Error - Network error when using Update function:Field "ID" is required.

  • Gochix Profile Picture
    1,933 Super User 2025 Season 1 on at
    Re: Update a sharepoint list

     

    Update('Permit Tracker',ThisItem,{Status:{Value: "Closed"}})

     

     


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1