Hello,
i want to Patch a List of Gallery items into my SP List.
If the title already exists i only want to Update the 2 columns trigger and test.
If it does not exists i want to also Patch the Title,trigger and test column.
This is my formula. I cant seem to think of a solution.
ForAll(Gallery1.AllItems,
If(LookUp(hwtriggertest,Title = Title2.Text).Title,
Patch(
hwtriggertest,First(Filter(hwtriggertest,Title , Title2.Text)),
{
trigger: "trigger",
temp: "1"
}
),
Patch(
hwtriggertest,
{
Title:Title2.Text,
trigger: "trigger",
temp: "1"
})))
Best regards Niklas