cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TB05
Helper II
Helper II

Edit gallery record with lookup values from another list

I have a gallery, source is a timelist, and I would like to edit an item in the gallery.  On select of the Edit icon in the gallery, I have a popup edit record.

The item that I want to update, has the information in another SharePoint list, WLEmployee.

I thought I would create a collection to grab that one item from the employee list that matches the variable (item being edited).  This works and I have all the employee relevant information....But unclear how to patch the record with the two fields I want to edit with the collection?

TB05_1-1635020758557.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
TB05
Helper II
Helper II

I solved it!  Thanks to anyone who looking at this to solve!

I did the following:


ForAll(collectEmpRec, Patch(BonusInput, LookUp(BonusInput,TimeID in collectEmpRec.ID And varPopupEmployeeEdit.ID=ID),

{
Date: DatePicker1.SelectedDate,........

View solution in original post

1 REPLY 1
TB05
Helper II
Helper II

I solved it!  Thanks to anyone who looking at this to solve!

I did the following:


ForAll(collectEmpRec, Patch(BonusInput, LookUp(BonusInput,TimeID in collectEmpRec.ID And varPopupEmployeeEdit.ID=ID),

{
Date: DatePicker1.SelectedDate,........

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,099)