Overview
In this article, we will learn how we can create a common Display Form or Edit Form for different Gallery Sources within the PowerApps.
Scenario
We have two screens.
- Gallery having information about the interviewers whose designation is “BI Developer”.
- Gallery having information about all the Interviewers.
Both the screens have a “View More” button. When the user clicks on the View More, a Common Details form should be opened.
We need a common form, no matter which screen the user has selected the record from.
So, now let’s get started!
Step 1
We have the following two screens.
Gallery with data having the designation = “BI Developer”.

Gallery with all data.

Step 2
Add a button to “View More” in both the screens.

Step 3
Add the following line of the code in Screen1’s Gallery.
Here, we have added a Context Variable named “SelectedItem” with the Navigate function. The “SelectedItem” variable store the record which has been selected from the gallery.
- Navigate(
- DetailForm,
- ScreenTransition.Cover,
- {SelectedItem: Gallery1.Selected}
- );








Colby TuryburyPosted Feb 12, 2021, 7:56 PM
Can you post a download link of this power app?