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 / Display updates from 3...
Power Apps
Answered

Display updates from 3 Forms from 3 pages on a Review and Submit page

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to create a Review and Submit page the shows all the changes from the previous pages. The patch function on the submit button successfully updates the data verse table, but doesn't display all the changes on the final page.

 

The flow that is currently implemented is as follows:

Screenshot 2022-11-15 160006.png

Question: How can i update the varNewJDData variable to contain the changes from the first 3 screens and display them to the user?

 

What I have tried:

On each screen, i used the Patch() function on the "next page" button. See the example below. This change did not work.

Patch(varNewJDData,jdScreenForm1.Updates);Navigate('JD Details Screen Pt 2')

I tried the Set function (similar to above), which did display the data but only from the last time i called Set(). So on the Review and Submit screen, i only saw data from the 3rd screen. It was adding the data to the global variable, but it was overriding itself each time i called set()

 

 

Set(varNewJobData,RollSumForm1.Updates);Navigate(‘Job Details Pt 2')

 

 

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @zachm ,

     

    You can leverage a collection to achieve your need. I made a test for your reference:

    vjefferni_1-1668595292578.png

     

    For the button on main screen, initialize a collection:

    ClearCollect(VAR1,Defaults('Your List'))

     

    Next button on the Role summary screen, OnSelect to update this collection with inputs in first form, and REMOVE the Defaults item (first item):

    Patch(VAR1,First(VAR1),Form1.Updates);Remove(VAR1,First(VAR1))

     

    Next buttons, update the first item Form by Form, and at last get all the updates

    Patch(VAR1,First(VAR1),Form2.Updates)

     

    Be noted that Item of all Forms are First(collection), so all the item are the same.

     

    Best regards,

  • zachm Profile Picture
    Microsoft Employee on at

    So after making those adjustments(below), i still dont see anything populating the final screen. Could you explain how to managed the FormMode?

     

    Also, why do we need to use Remove()?

     

    Main Screen

    On Select: 

    ClearCollect(colNewJD,Defaults('Job Description Verifications')); Navigate('Role Summary Screen')

     

    Screen 1

    On Select:

    Patch(colNewJD,First(colNewJD),RoleSumForm.Updates);Remove(colNewJD,First(colNewJD)) ;Navigate('JD Details Screen Pt 1'); 

    Item: First(colNewJD)

    DefaultMode: FormMode.New

     

    Screen 2

    Onselect:

    Patch(colNewJD,First(colNewJD),jdReviewForm1.Updates);Navigate('JD Details Screen Pt 2')

    Item: First(colNewJD)

    DefaultMode: FormMode.New

     

    Screen 3

    Onselect:

    Patch(colNewJD,First(colNewJD),jdScreenForm2.Updates); Navigate('Review And Submit Screen')

    Item: First(colNewJD)

    DefaultMode: FormMode.New

     

    Review Screen

    Item = First(colNewJD)

    DefaultMode: FormMode.View

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @zachm ,

     

    Form modes are New except for the last one is View, just the same as yours.

     

    Blow is the result after the second button selected:

    vjefferni_0-1668664133526.png

     

    And after the third button selected:

    vjefferni_1-1668664232934.png

     

    Working perfectly as you can see. On your end, you can check the collection details every time selected the buttons by selecting the collection name, to help you find out if the collection is working:

    vjefferni_2-1668664640483.png

     

    I found that the Defaults function will generate a blank record, so I use Remove function to delete and clear the first blank/default item. Please check the collection status button by button.

     

    BTW, I cannot be contacted except for this community, because of the compliance policy. Sorry about that.

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard