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 / Navigate not working i...
Power Apps
Unanswered

Navigate not working in gallery

(0) ShareShare
ReportReport
Posted on by 77

pranavj619_0-1681997771671.png

I have this type of gallery in my Power App. Now I want to navigate to another screen that is supposed to display the records respective to that Request ID from a different sharepoint list which have the same reqest ID 

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @pranavj619 

     

    Assuming New Screen name is 'Screen1', please use the following formula in onSelect function of gallery:

     

    Navigate(Screen1,Transition.None, {varRecordID:Gallery1.Selected.ID});

    assuming Gallery1 is the name of gallery.

     

    Create a new Screen with name 'Screen1' and add a form control on it. Modify the form control 'Default Mode' property to New.

    In the item property of edit form add the following formula:

    LookUp(SPLisName,ID= varRecordID)

     

    Add the required fields in the forms as shown below:

    ManishSolanki_0-1681998947904.png

     

    Please let me know if you face any problems.

     

    Thanks

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • pranavj619 Profile Picture
    77 on at

    On the Screen1, I want to display a table with values respected to the Request ID I selected from the first screen(screenshot I have added in the post).

     

    Lets say, If i click this 929460020z3184138 from the first screen...Then on 2nd screen it should display the records for 929460020z3184138 ID2. It will be in form of table

    pranavj619_0-1681999340608.png

     

     

     

  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @pranavj619 

     

    In that case use the below formula in the Item property of gallery or table:

     

    Filter(SPLisName,ID2= varRecordID)

     

    pls change the SPLisName & ID2 as per your need & let me know if you face any problem.

     

    Thanks

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • pranavj619 Profile Picture
    77 on at

    For some reason, it is not navigating to the other screen from 1st gallery, the formula is working though

  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi,

     

    Pls use the OnSelect property of gallery from which you want to navigate to new screen 'Screen1'.

     

    Navigate(Screen1,Transition.None, {varRecordID:Gallery1.Selected.ID});

     

    Thanks

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • Jawaharprem Profile Picture
    272 on at

    Hi,

    in screen if you select 12345 only this number data should be shown in other screen that is your requirement.

  • pranavj619 Profile Picture
    77 on at

    I have done the same thing that you have mentioned....still it is not working...Not sure what I'm missing 😞 

  • pranavj619 Profile Picture
    77 on at

    Yes...That is correct

  • Jawaharprem Profile Picture
    272 on at

    Hi, 

    Data source is same for 2 screen or different data source for screen 1 & 2,

    have u tried lookup function.

     

  • pranavj619 Profile Picture
    77 on at

    bot are different...I think the code is working fine....just that it is not navigating to other screen

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 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard