I'm designing a multiple screen based menu.
My user's starting point is a Hamburger menu icon on my apps home screen:
The hamburger menu Icon gets you to this screen:
...and clicks on "issues by school" take you to another screen, but what appears to be a submenu to the user:
Currently, the hamburger menu icon is set to back() which does not achieve what the user would expect (that the menu closes and they are navigated to the last viewed gallery screen)
Instead, use my last screenshot as an example, the submenu list of the schools is displayed and the hamburger menu is clicked, you are taken back to my second screenshot where you would normally expect the menu to close completely.
So is it possible to formulate Back() to exclude all the "menu" screens and detect the last gallery screen viewed?
Cheers in advance.
Solved! Go to Solution.
Have you tried to make the entire menu a single page instead of each page of the sub-menu being different screen?
You can set the visibility of "School1" & "School2" to change when the IssuesBySchool button is clicked?
Once you do this, the waffle button Back() will start working well.
Hi @Doors1980,
I think this cannot be achieved so far in PowerApps as the app cannot recognize which screen is the last viewed one. You can set to navigate to one specific screen.
You could post what you need in the PowerApps Ideas forum, so it might be considered for future releases.
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
Regards,
Mona
Have you tried to make the entire menu a single page instead of each page of the sub-menu being different screen?
You can set the visibility of "School1" & "School2" to change when the IssuesBySchool button is clicked?
Once you do this, the waffle button Back() will start working well.
Thanks @sarafankit that's working brilliantly for the school menu expansion.
I need to do the same however for the "issues by team member" on the same screen.
The below steps are correct I think...
...but what do I set the waffle screen.OnVisible to?
Set(ShowSchools, false) && (ShowTeam, false) is not working
Cheers.
Thanks @sarafankit , I got it working.
Set(ShowSchools, false) && (ShowTeam, false) is showing an error on the formula but its working.
@Doors1980- Glad to hear that your design issue was resolved.
The way to chain commands in PowerApps is by using ";"
So, the formula will become:
Set(ShowSchools, false); Set(ShowTeam, false)
Thanks, @sarafankit, That's got rid of the error.
The menu now looks like this and it's just the one page so the hamburger menu really does go back()
https://giphy.com/gifs/26FeXgSHmuoXXfT9u
Can you please share your code for having Nevigation Menu bar??
This, it would be invaluable to future people looking to solve similar tasks
User | Count |
---|---|
124 | |
87 | |
86 | |
75 | |
69 |
User | Count |
---|---|
214 | |
181 | |
139 | |
96 | |
83 |