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 / Updating data in PA cu...
Power Apps
Unanswered

Updating data in PA customized edit form

(0) ShareShare
ReportReport
Posted on by 85

in powerapps in a customized edit form I have a button named 'substitute' along with a dropdown field named 'Item Description' that gets its results from a lookup list named 'Order Parts Lookup'. When I populate the item description field and select the button I want to populate the 'part number', 'master' and 'description' field of the item I'm currently editing in [Material Order Detail] Sharepoint online list with the respective fields from the order Order Parts Lookup list based on the choice I selected in the item description field. I then want it to submit the changes to the item. Below is the code I have so far, but running into issues with the patch statement...

 

Among other things, EditForm is not recognized.

 

Set(
    SelectedItem,
LookUp(
    'Order Parts Lookup',
    Description = DescriptionDropdown.Selected.Result
)
);
Patch(
    EditForm.,
    EditForm.Mode = FormMode.Edit,
{
    DataCardValue1: SelectedItem.'Manufacturer PN',
    DataCardValue3: SelectedItem.'PS Item ID',
    DataCardValue4: SelectedItem.Description
}
);

2023-06-20_14-39.png
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,445 Most Valuable Professional on at

    Hi @ShawnPelletier ,

    You need to be patching a data source, not a form.

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!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard