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 / 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
    153,427 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

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 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard