cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sethawd
New Member

Visitor check-in - go to display form from new edit form

I have a visitor check in app that mostly works, but I can't figure out how to get a new customer form submission to go straight to the display form. I have a gallery that shows name and pertinent info from a onedrive spreadsheet. currently I can get the new edit form to save all customer info properly to the spreadsheet, but I can figure out how to get it to automatically select the most recent submitted form to display on the display form page.

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User III
Super User III

Create a variable OnSuccess of your EditForm;

Set(lastItem, EditForm1.LastSubmit)

 

Then on your display form item property put: lastItem

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

3 REPLIES 3
eka24
Super User III
Super User III

Create a variable OnSuccess of your EditForm;

Set(lastItem, EditForm1.LastSubmit)

 

Then on your display form item property put: lastItem

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Is there a way to get this to work in conjunction with using BrowseGallery1.Selected in the display form?

eka24
Super User III
Super User III

Insert a Button on your screen.

Then  OnSelect property, set a Variable;

UpdateContext ({ChangeDisplay:!ChangeDisplay})

 

Then in the Item property of the form:

If(ChangeDisplay, lastItem,BrowseGallery1.Selected)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,127)