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

Notifications

Announcements

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

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
    on at

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

    Randy

  • Community Power Platform Member Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard