cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Resolver I
Resolver I

Sorry, Im really stupid. I selected the wrong forms

View solution in original post

1 REPLY 1
Resolver I
Resolver I

Sorry, Im really stupid. I selected the wrong forms

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Users online (3,916)