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 / Using Patch function t...
Power Apps
Answered

Using Patch function to update an existing SharePoint list item using a PowerApps form

(0) ShareShare
ReportReport
Posted on by 37
I am building a helpdesk system using SharePoint lists and a PowerApps form.  The form has 2 screens the first screen is to submit a new request to the list and this works correctly.  The second screen is for editing or updating existing items in the list.  The screen loads correctly but I cannot get the form to update the existing item. I am using the below code.  The status field is a choice (dropdown) field and default value is "New" when I open the edit form and update to a new value and click save it wipes the value out of the field in Sharepoint so the status field on that particular item is blank.  Any help greatly appreciated
 
Patch(
    'Tickets',
    SharePointIntegration.Selected,
 
    {            
        Status: SharePointForm1.Updates.Status,
        Priority: SharePointForm1.Updates.Priority
    }
 
);
RequestHide();
I have the same question (0)
  • Verified answer
    SwatiSTW Profile Picture
    809 Super User 2026 Season 1 on at
    1.   Verify the Status dropdown in your form. Set the Default property of the item to ThisItem.Status.
    2.   Set the Update property of the Status dropdown to Dropdown_Status.Selected.Value
    3. Use the following code for your save action
    Patch(
    'Tickets',
    SharePointIntegration.Selected,
    {
    Status: Dropdown_Status.Selected.Value,
    Priority: Dropdown_Priority.Selected.Value
    }
    );
    RequestHide();
    4. Replace Dropdown_Status and Dropdown_Priority with the actual names of your dropdown controls.
    5. Save and publish your app. Test the form to ensure changes are saved correctly.

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 Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard