Search code examples
powerappspowerapps-formulapowerapps-selected-items

How to dynamically display items in the screen navigated after list selection in Powerapps?


Below shows the image of the items in the vertical gallery in Powerapp:

enter image description here

Below is the image of the screen for checklists content: enter image description here

This is the sample data: enter image description here

Desire outcome: For instance, if I select "office" item in the vertical gallery, it should navigate me to a screen showing the checklists for the office. Let's say if I go back and select "Meeting room" item in the vertical gallery, it should navigate me to the SAME screen showing the checklists for the meeting room. In short, I want to on list item select to navigate me to the same screen and change the content (checklists) of the screen dynamically.


Solution

  • You can access the selected row of the gallery with Gallery.Selected from the checklists screen. This will give you access to the selected row/record in the data source that is feeding the Gallery control on the first screen.