When a user selects a row from a gallery, my app currently navigates to a screen where the user can edit columns within that row. There are different edit forms dependent on a column within the selected row, so when the user selects a row to edit they should be sent to the appropriate edit form. What function could I use to achieve this?
Solved! Go to Solution.
In the OnSelect property of the navigation icon/button on your gallery, you would call the Switch function to conditionally navigate the user to the appropriate screen.
In this example, if the value of "YourColumn" is "A", this will navigate the user to ScreenA. The similar logic applies to the values/screens B/ScreenB, and C/ScreenC.
Switch(ThisItem.YourColumn,
"A", Navigate(ScreenA),
"B", Navigate(ScreenB),
"C", Navigate(ScreenC)
)
In the OnSelect property of the navigation icon/button on your gallery, you would call the Switch function to conditionally navigate the user to the appropriate screen.
In this example, if the value of "YourColumn" is "A", this will navigate the user to ScreenA. The similar logic applies to the values/screens B/ScreenB, and C/ScreenC.
Switch(ThisItem.YourColumn,
"A", Navigate(ScreenA),
"B", Navigate(ScreenB),
"C", Navigate(ScreenC)
)
This worked. Thank you for the help.
User | Count |
---|---|
161 | |
84 | |
68 | |
63 | |
61 |
User | Count |
---|---|
211 | |
146 | |
95 | |
82 | |
67 |