Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

how to edit the sharepoint list record that didn't come from the form

based on the leave request template from MS

I just connect to the SharePoint list as a data source. 

Which I didn't use the form to patch into the SharePoint list. I use this . If I want the user to edit this form after saving it to SharePoint.

How can I do that? 

the edit step:

1. User select the record in the My leave request screen 

2. select the edit button -> it will jump to leave request form. But it needs to show the information of the selected record. (question)

3. User just save the record via saving button ( this one I think I just use a patch function to update)



Super User
Super User

You would use the myrequestscontrolname you're leave requests are listed from and use Lookup('SharePointleaverequestlist', id =  in the items property of the form. If the form isn't in edit mode you may have to add it to the onselect of the myrequestscontrolname and do EditForm(requestformname) to set the form to edit mode. 

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,852)