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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Adding notes to record on onedrive

(0) ShareShare
ReportReport
Posted on by 229

I have a gallery with down machines and a form on the same page with the details. I want to be able to use the form to add notes to the record I have stored in OneDrive. Right now I got it to add the notes but I creates a new row instead up updating the original line of data. Then when I complete the repair of the unit I submit the form and it does update the record. I added a Unique ReportID to each request and I have been trying different combinations of Update, Updatecontext, Patch but I cant seem to get it right. In the example below I'm work on RecordID:4

 

When I Click the Add Notes Button(Formula Below) 

Patch(Etching_Maintenance_Reports,
Defaults(Etching_Maintenance_Reports),
{'Issue Update Notes': UPdate_Notes_DataCardValue.Text,
'UpDate Date': Update_Date_DataCardValue3.Text,
ReportID: ReportID_In_Form_DataCardValue.Text})

Chrisguff12_0-1611802710827.png

the record is add to the bottom instead of the line original ID4: record .

Chrisguff12_3-1611803122873.png

 

I'm sure there is a easy fix that I'm not getting so any help would be great. Thanks.

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Adding notes to record on onedrive

    Hi@Chrisguff12,

    Based on the issue that you mentioned, do you want to update(add notes) the existing record?

    Could you please share a bit more about the scenario?

    I assume that you click "Add Notes" button to update the related RecordID:4 record.

    I think you could directly refer to the RecordID when you update.

    Try the following formula:

     

    Patch(Etching_Maintenance_Reports,
    LookUp(Etching_Maintenance_Reports,RecordID=4),
    {'Issue Update Notes': UPdate_Notes_DataCardValue.Text,
    'UpDate Date': Update_Date_DataCardValue3.Text})

     

    Note: You don't need to assign a value to the RecordID when you want to add notes to the existing record.

    Hope it helps.

    Regards,

    Qi

  • Chrisguff12 Profile Picture
    229 on at
    Re: Adding notes to record on onedrive

    Thanks you for your help I know I was close I just couldn't get it right. I hade to modify your formula a little so that it would work for any new reports that are made. but I tested it several times and they all went though. thanks again.

     

    Chrisguff12_0-1611881521050.png

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 381 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 225

Last 30 days Overall leaderboard