Patch data fields, including a choice column to a data source

PHOTO EMBED

Sun Jul 17 2022 08:33:31 GMT+0000 (UTC)

Saved by @gofunk1 ##powerapps

Patch('Aviva Account Desk Booking', DeskPicker.Selected, {Status: {Value: "Booked"}, From: FromCard.SelectedDate, To: ToCard.SelectedDate, Name: PersonPicker.Selected, TextName: PersonPicker.Selected.Email, DisplayNanme: PersonPicker.Selected.DisplayName})
content_copyCOPY

In this snippet, this desk picker is the title column in SharePoint, which is required, within the {} is the Status column in SharePoint which is a Choice column. The remaining code is mapped to various input boxes and pickers. Used in the OnSelect field.