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 / Add arrow to gallery a...
Power Apps
Answered

Add arrow to gallery and display record in form

(0) ShareShare
ReportReport
Posted on by 347

Hi, how do I add an Add arrow to gallery and display the selected record in a form. Using Power apps via teams. 

Thanks

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @KT61 

    If your form is on a different screen, you can put a ">" icon in the gallery and make its OnSelect property

    Set(varrecord,ThisItem);Navigate(Screen2)

    in the form on Screen2, make the Item property Lookup(datasource,ID=varrecord.ID) 

  • Verified answer
    Chriwo Profile Picture
    11 on at

    Hi @KT61

     

    if u want to show a specific record from a gallery in a form please try the following

     

    On your gallery choose the ,,OnSelect“ property and add the following line of code: 

     

    Navigate(ScreenName)

     

    For ScreenName you should take the name of your screen where the form is placed. 
    you can add a button or icon to the gallery from the ,,insert“ tab for selecting the record. On this button / icon choose the ,,OnSelect“ property again and type in the following line: 

     

    Select(Parent)

     

    Assume that the gallery name is gallery1 you can add the following line of code in the ,,item“ property of your form. 

    gallery1.Selected

     

    now you should be able to Display the fields of the selected gallery record.

     

  • KT61 Profile Picture
    347 on at

    Hi, I got the following message "Lookup is an unknown or unsupported function"

  • KT61 Profile Picture
    347 on at

    Hi Thanks, this worked. Can I display a table imported from excel using this method?

  • Chriwo Profile Picture
    11 on at

    Hi @KT61,

    Glad to hear that i could help you. 

    yes this should also work with excel tables 🙂 

     

    if my solution helped you, i would appriciate when u mark it as solution 🙂

     

    Kind regards 

  • KT61 Profile Picture
    347 on at

    Thanks, If I add a "display form" to a new screen, there is no field to display?

    KT61_0-1663448670447.png

     

     

  • Chriwo Profile Picture
    11 on at

    I think it's not possible to connect a local stored excel table directly to a Form.

    If you want to show the fields of a local excel table to a Form, you have to go the way via a gallery again.

     

    If you want to connect the form directly to the excel table you must save the excel file to your business Onedrive and connect to the table via OneDrive connector 

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard