cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kudo Kingpin
Kudo Kingpin

Populating data in form viewer

Hello Team,

 

In my app, there are 3 screens an i am using multiple forms on these screens.

on click of submit i am using patch function to store this data in SP List.

Here, now i want to navigate to 4th screen which is a form viewer and populate the data that we just saved.

how can i achieve this.

 

I know that we can use gallery and then navigate to 4 th screen setting form viewers property to "gallery.selected", but i dont want to do this.

 

 

Thanks

3 REPLIES 3
Advocate I
Advocate I

I have a similar situation where I save a header record and then take the user to the detail items after the header form has been saved.  To pass the header information to the detail form, I use the Form property "FormSubmit" (formFormName.FormSubmit) to grab the ID value and then populate a collection of the header data that I can use within the detail form.  HTH

Hello @RobEitzen

 

Can u explain it?

I am not able to understand this logic.

Thanks

In the OnSuccess event for my form, I store the collection of the newly created record in a variable.

OnSuccess: {varSelectedItem:formUnitInspection.LastSubmit}

 

Then the data source for my gallery on the next screen uses this variable to pull the correct record:

Filter('inspection-punchlist', InspectionID.Id = varSelectedItem.ID)

 

I hope this makes sense.  If not, we'll keep trying until it does.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (20,466)