cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmchx
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)

mmchx_0-1638424052814.png

 

1 REPLY 1
cwebb365
Super User
Super User

You would use the myrequestscontrolname you're leave requests are listed from and use Lookup('SharePointleaverequestlist', id = myrequestscontrolname.selected.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

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,312)