Hi,
I'm struggling to get a toggle (yes/no) to update a sharepoint list when changed.
I have put the toggle in a gallery so that I can update each item but I can't get it to work.
Sharepoint list: Liste_1
Column to update (Yes/No): Til_fakturering
Toggle button Default:
If(
ThisItem.Til_fakturering.Value = true,
true,
false
)
Toggle button OnSelect:
Patch(
Liste_1,
LookUp(
Liste_1,
ID = ThisItem.ID
),
{
Til_fakturering: If(
Toggle3.Value = true,
true,
false
)
}
)
Does anyone know why this is not working?