Hi,
I have a SharePoint list that I use to collect data from onsite audits. I have a gallery that displays the completed audit information where you can click though to display the details from a selected gallery item:

The Action Required box on the second screen is populated from the background SharePoint list for the selected item:

I have a Patch function on the update button that I want to update the Audit Type and Action Required (you can't change the image at the moment, that will be phase2!). The code is below:
Set(
varPatchAudit2,
Patch(
'Hygiene Fabrication Audits',
Defaults('Hygiene Fabrication Audits'),
{
AuditType: Dropdown1_1.Selected.Value,
Title: Dropdown1_1.Selected.Value,
ActionRequired: ActionRequiredInput_1.Text,
TaskStatus: "Not started",
AssignedBy: If(
Dropdown1_1.Selected.Value = "Fabrication",
FabManager,
HygManager
),
AssignedTo: "Unassigned"
}
)
);
My problem is that it is that the update is not registering anything new, i.e. if I change the Audit Type via the dropdown or the text in the Action Required, the background list is not changing. Either the Patch is not working or it is putting back the same information without picking up the changes.
Any ideas what I am doing wrong?
Thanks,
Izzy.