I have an application based on a SharePoint list (List_Name). This SP list has many columns but the two that I would like to focus here are the following:
- LTN (renamed from original Title column) - mandatory
- Locked (Y/N)
In this application I have a gallery and when I click a button on a specific item of this gallery I would like PowerApps to update the "Locked" field to "true" and navigate to a screen where the user will edit the specific record. The code I'm using is as follow:
Patch(List_Name,LookUp(List_Name, LTN = ThisItem.LTN, {Locked:true}));
Navigate(EditCase);
When I run this form and click that button I'm receiving the following error message: "Title: Field 'Title' is required" and the list item is not patched.
I also tried with the following code but the same error is still there:
Patch(Case_list,LookUp(Case_list, Title = ThisItem.LTN, {Locked:true})) ;
Navigate(EditCase);
Any idea about what I'm doing wrong?