web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch a Field on the c...
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 🙂

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    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

  • kriscachia Profile Picture
    73 on at

     

    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

     

     

  • v-mengmli-msft Profile Picture
    on at

    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

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard