Still a PowerApps newbie and am having trouble with a gallery item detail page. My app's backend is a single SharePoint list and it has two galleries. The first one is on a screen called All Requests. The second gallery is on a screen called My Requests and is filtered by user. When I select an item, it navigates to a screen called My Request Details (FormViewer2). There is a back button on this page to navigate back to the My Requests screen but when I click it, it takes me back to the All Requests screen (gallery) instead of the My Requests gallery. The Item property of FormViewer2 is set to TemplateGalleryMyRequests.Selected and not to the first gallery called Gallery_Requests. I'm not quite sure what other setting needs to be configured to navigate back to the My Requests screen. What am I missing?
Solved! Go to Solution.
Hi @dhebert87 ,
Have you solved your problem?
Thanks for your feedback, I think this issue may be related to updates within PowerApps. If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread as Solved.
What code is being used in the OnSelect property of the back button? Try replacing it with the code and use your own screen name.
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Hi @mdevaney ,
That is what I have in the OnSelect property of the back button.
It brings me to the All Requests screen instead.
Hi @dhebert87 ,
Could you please share a bit more about your issue?
Do you mean that the 'Navigate(MyRequestsScreen, ScreenTransition.Fade)' formula navigate to your AllRequests screen rather than your MyRequests Screen?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Please check if you have typed additional Navigate(..) formula within the OnVisible property of your "MyRequests" screen or the OnHidden property of the FormViewer2 screen.
Please check if there are some Navigation mechanism between your "All Reuqests" screen and "MyRequests" screen, if true, please consider remove it and then try your app again, check if the issue is solved.
In addition, please make sure you selected an item in your second Gallery, and then navigate to the FormViewer2 screen. Please consider modify your Navigate formula within the "Back" button in your FormViewer2 screen to following:
then check if the issue still exists.
If the issue still exists, please consider re-create a new app based on your SP List, then try the Navigate formula again, check if the issue is fixed.
Yes, that is exactly what I mean. I tried using Back() and tried multiple times to remove formulas and put them back. When I first built the app, navigation worked perfectly. A couple of weeks ago, it broke. Just yesterday afternoon, after adding the formula back, it begun to work properly. Must have been a bug. Strange. Thank you for your response.
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021
Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!