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 / Select(Parent) on diff...
Power Apps
Answered

Select(Parent) on different Browse Screens

(0) ShareShare
ReportReport
Posted on by 404

Hello.

I have few different Browse screens and each of them shows items with different Status (filter by status value)

Annotation 2020-06-24 201056.png

All of them I made as a copy of default Browse screen.

But when I select an item on these screens it follows me on wrong item.

Annotation 2020-06-24 201916.png

on the default BrowseScreen1 it works correctly.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    What happens when you click it? And what is the formula for the parent's (gallery) onSelect

  • mdevaney Profile Picture
    29,989 Moderator on at

    @ppl 
    Instead of looking at the code in the OnSelect property of the icon you need to look at the OnSelect property of the gallery.  It will need to be changed for each gallery you copied.  Select(Parent) refers to the OnSelect property of the Gallery.


    If you need help be sure to post a screenshot here.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • ppl Profile Picture
    404 on at

    @Anonymous @mdevaney 

    OnSelect is Navigate(DetailScreen1, ScreenTransition.None) in all my Screens galleries.

    When I click an arrow it follows me to the first item in my list, and not to that which I choose.

  • Verified answer
    mdevaney Profile Picture
    29,989 Moderator on at

    @ppl 

    Add this code before the Navigate function in the OnSelect property:

    Set(varRecordID, ThisItem.ID)

     

    Now go to your form displaying the wrong information and put this code in the Item property

    LookUp(your_datasource_name, ID=varRecordID)

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    on at

    @ppl It is always taking you to the details screen of the first item because your item property on the detail screen is probably tied to only one screen, probably the first one that you created.

     

    However, what you want to do is change the items property dynamically depending on which item is selected on any screen. Storing the selected item in a variable and using that variable on the details screen's form's item property should work. 

     

    1. Use the formula below on the right arrow icon on each browse screen:

    Navigate(DetailScreen1, ScreenTransition.None, {(SelectedItem: ThisItem)});

     2. Use the formula below on the details screen's form's items property:

    SelectedItem

     

    Best,
    Zabi
    Mark this post as a solution, or kudo it if you found it be helpful. You can choose more than multiple answers as solutions, including your own answer. 🙂

  • ppl Profile Picture
    404 on at

    Hello again.

    @mdevaneyyour solution works correctly first time but after some tests it works time to time. Sometimes I see something like this when I choose an item

    Annotation 2020-07-06 190955.png

     

    @Anonymous 

    where I need to define this variable?

    I put this in my Arrow

    Annotation 2020-07-06 191039.png

     

    and this to an Item property in my DetailScreen

    Annotation 2020-07-06 191517.png

    but it has red underline

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