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 Parent.Select ...
Power Apps
Unanswered

Gallery Parent.Select changing for form

(0) ShareShare
ReportReport
Posted on by 118

I have Gallery1 of materials to be weighed (data source is List). A Form1 is used to enter data and Default is Gallery.Selected.  I needed to add the option of splitting weights across multiple material lot#'s so I added option to input multiple lots via TextInputs collected to Collection and displayed in a Gallery2.  Once user enters Split amounts for each lot, Patch uploads collection to Sharepoint List. I used variables tied to Visible on the same screen as my Form1 to show and the "Split Weight" data entry and Gallery. When user Patches collection to List it resets variables to hide "Split Weight" fields.  The problem I'm encountering is when user selects an Item in Gallery1 that is not the top row. When Split Weight is completed and related fields are again hidden Form1 changes to that of the first Item in Gallery1.

Microbes_0-1636231286722.png

Microbes_2-1636231352396.png   

Microbes_4-1636231398866.png 

  

Microbes_6-1636231438354.png 

Microbes_8-1636231468567.png

 

 

Categories:
I have the same question (0)
  • AmeerJab Profile Picture
    370 on at

    Hello,

    try using a Collection when selecting an item instead of the gallery.selected

    the formula on the OnSelect should be:

    ClearCollect(Collection1 ,Filter(Datasource, Id = Thisitem.selected.id)

    Hope this help,

    Regards.

     

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