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 / Not navigating to the ...
Power Apps
Answered

Not navigating to the proper screen

(0) ShareShare
ReportReport
Posted on by 33

I don't really know how to explain but I explain through my process. Appreciate the help.

I have 4 screen,

NAdminBrowse,

NAdminDetail,

AdminBrowse,

AdminDetail.

 

The following table is located in my BrowseGallery which can be found in NAdminBrowse and AdminBrowse screen.

Ash
Benedict
Christopher
Dorothy Perkins
Elizabeth

 

NAdminBrowse - OnSelect,

 

Navigate(NAdminDetailScreen, ScreenTransition.None)

 

Upon selecting any row in NAdminBrowse screen, will transition to a page labelled NAdminDetail screen.

 

AdminBrowse - OnSelect,

 

Navigate(AdminDetailScreen, ScreenTransition.None)

 

Upon selecting any row in AdminBrowse screen, will transition to a page labelled AdminDetail screen.

 

In the NAdminBrowse screen, when selecting any row, for example, the row with the name Ash. It will navigate me to the NAdminDetail screen for that specific person where the detail screen has birth dates, country of birth, etc. Likewise for other names, should you select Elizabeth in the NAdminBrowse screen, it will navigate to the NAdminDetail screen for Elizabeth.

 

However, I am not having the same expectation for AdminBrowse and AdminDetail screen. What it does is, it uses the last visit data from NAdminDetail screen, for example.

Under NAdminBrowse screen, I select Benedict and it'll navigate me to NAdminDetail screen and shows the details of Benedict. After which, when I select Christopher or Elizabeth or Ash under AdminBrowse screen, it'll navigate to the AdminDetail screen but for Benedict.

I checked that my BrowseGallery - OnSelect for AdminBrowse screen is,

 

Navigate(AdminDetail, ScreenTransition.None)

 

What could have went wrong, appreciate the assistance.

 

Categories:
I have the same question (0)
  • Verified answer
    rizkyaditya Profile Picture
    292 on at

    Hello @Khairudin ,

     

    Let me understand your situation better.

    I assume you have your existing configuration like this :

     

    NAdminBrowse : contain gallery to show the items

    NAdminDetail : contain Form in Edit mode to edit the selected item from NAdminBrowse screen

    AdminBrowse : contain gallery to show the items

    AdminDetail : contain Form in Edit mode to edit the selected item from AdminBrowse screen

     

    And for the requirement, you want the user to click the item either in NAdminBrowse or AdminBrowse screen, and then navigate to the respective screen to edit the details needed.

     

    You may try this for the OnSelect property for each gallery.

    NAdminBrowse - OnSelect

    ClearCollect(colSelectedItem, ThisItem);
    Navigate(NAdminDetailScreen, ScreenTransition.None)

     

    AdminBrowse - OnSelect

    ClearCollect(colSelectedItem, ThisItem);
    Navigate(AdminDetailScreen, ScreenTransition.None)

     

    And for each form, either the form to show details in NAdminDetail or AdminDetail, please add this to the Item property :

    First(colSelectedItem)

     

    I hope this helps!

  • Khairudin Profile Picture
    33 on at

    Hi @rizkyaditya,

    Exactly but I found where my mistake was. 

    I duplicated the first screen hence the second detailform item had the first BrowseGallery selected instead of the duplicated BrowseGallery.

    Hey, you did help me to resolve too thanks !!

  • rizkyaditya Profile Picture
    292 on at

    Hello @Khairudin ,

     

    That is nice if it is already solved.

    Please mark my suggestion if you consider that as a solution.

    Thank you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard