web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery navigate to di...
Power Apps
Answered

Gallery navigate to display view screen

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

So, I created a new Canvas App. I am using a CDS table as my data source. I created all of the necessary columns in my table to store my data.  I added 2 dummy records to my data.  I have created 3 screens; 1 with my Gallery to view and select my records, 1 screen that I created a "display" form on, and 1 screen that I will create an "edit" form on.  My problem is that in my gallery screen I have added the gallery and it populates the records.  But, I can't figure out how to link the arrow so that when I click on that particular record it will navigate to the display screen (or later the edit screen) and populate the screen with the rest of that records data to view.  I assume I have to change the OnSelect property of the arrow but I can't figure out the syntax to put in to get it to send that records data to the display screen. 

Categories:
I have the same question (0)
  • Verified answer
    JayMagness Profile Picture
    1,663 on at

    Hi,

     

     this is a two part process:

     

    first create the from and where you attached the table in the items field put [Table name].Selected

    Then on the arrow put in the onselect statement put Navigate([formname])

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    I would change @JayMagness 's suggestion for the ">" icon inside the gallery's OnSelect property should be
    Navigate(screen2,None); EditForm(Form1)

    Likewise you will need a way to add a new record to your table.  I suggest adding a "+" icon outside of the gallery with the OnSelect as Navigate(screen2,None); NewForm(Form1).

    The above assumes that your edit form is on screen2 and is named Form1.  I generally don't use the display form control much because you can change the display mode of an edit form by using the function ViewForm(Form1) and it makes the form look like a view form.  

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @JayMagness Thanks, that was the simple fix and it did work.  Much appreciated! 

    Randy

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Drrickryp Thanks for the additional information, I'll consider this as I progress my project along.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 476

#2
WarrenBelz Profile Picture

WarrenBelz 365 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 339

Last 30 days Overall leaderboard