Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Patch a Field on the current record in a Form (Sharepoint List)

(0) ShareShare
ReportReport
Posted on by 73

Hi all,

 

I am a bit new to the patch function and I basically have a form (called Form1😞

- Sharepoint List called RRF

- Field i need to update is called 'RRF Status

- ID of the list is called 'RRF ID

 

how do i: Patch('RRF' lookup the current record on form based on RRF ID, and update the RRF Status field with this text: "RRF Complete")

 

any help would be appreciated 🙂

 

 

  • v-mengmli-msft Profile Picture
    on at
    Re: Patch a Field on the current record in a Form (Sharepoint List)

    Hi @kriscachia ,

     

    Do you mean that data in Form display when you submit the form? This may have something to do with the settings of your Form and DataCard. Please check the mode of Form is "Edit".

    If my previous answer worked for you, I hope you can accept it as a solution.😊

     

    Thanks.

    Rimmon

     

     

  • kriscachia Profile Picture
    73 on at
    Re: Patch a Field on the current record in a Form (Sharepoint List)

     

    Hi v-mengmli-msft 

     

    Thanks for your reply. 

     

    I put the patch command on the select of a button and it worked, The RRF Status is showing As RRF Complete

     

    However for some reasons when i Submit(Form1) to save the data, its clearing out the RRF Complete and blanks it out. 

    The RRF Status field has Parent.Default setting. I dont know if thats correct. Maybe its causing the value to be blanked on save?

     

    Any ideas

     

    cheers

     

     

  • Verified answer
    v-mengmli-msft Profile Picture
    on at
    Re: Patch a Field on the current record in a Form (Sharepoint List)

    Hi @kriscachia ,

     

    I assume that the RRF Status is text column.

    About how to update data in Item of Form to List:

    OnSelect of a button:
    SubmitForm(FormName)

    Or

    Patch(ListName,LookUp(ListName,'RRF ID'=Form.Updates.'RRF ID'),{'RRF Status':"RRF Complete"})

     

    Best regards,

    Rimmon

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