Skip to main content

Notifications

Power Apps - Building 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
}
);

  • WarrenBelz Profile Picture
    WarrenBelz 145,475 on at
    Re: Updating data in PA customized edit form

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard