cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Updating Selected Record using Patchfunction

Its almost working. 
Its loading the gallery selected record (binded with cds) to my edit forms but it always patches the wrong data to my selected record.

My Patch functions looks like this 

 

If(
    Connection.Connected;
    Patch(
        CDS_SOURCE;
        GalleryPage0Overview.Selected;
        DataFormPage1.Updates;
        DataFormPage2.Updates;
        DataFormPage3.Updates;
        DataFormPage6.Updates;
        DataFormPage2Bemerkung.Updates;
        DataFormPage3Bemerkung.Updates
    )
);;
Refresh(CDS_SOURCE);;
Navigate(
    [@Overview_Screen];
    ScreenTransition.Cover
)

 

DataFormPageX are my forms, They are in different screens.

 

Do I need to use something like lookup for the 2nd parameter in the patch function? I want to update the records about the forms itself.  

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver I
Resolver I

Sorry, Im really stupid. I selected the wrong forms

View solution in original post

1 REPLY 1
Highlighted
Resolver I
Resolver I

Sorry, Im really stupid. I selected the wrong forms

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Users online (8,534)