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

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

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,875)