Hi,
1. I have a SPList as 'Dates'. I have a column in 'Dates' list as TrainerName and need to save this TrainerName in Person/Groups column of my SP list. So, I have a Gallery9 where it shows columns from 'Dates' list and I am selecting the TrainerName from Dropdown4 of Gallery9. So, If I am using below formula to patch the TrainerName(Person/Group column)it is showing error.
ForAll(Gallery9.AllItems,If(!IsBlank(LookUp(Dates, Title = Label135.Text And Date = Value(Label167.Text))),UpdateIf(Dates, Title = Label135.Text And Date = Value(Label167.Text),{TrainerName: Dropdown4.Selected.Title}),Patch(Dates, Defaults(Dates), {TrainerName: Dropdown4.Selected.Title})));
2. On clicking the update button, email has to be sent to the assigned trainers from the gallery. Now as shown in this screenshot, I have 3 trainers assigned. Now the email should include start date, end date and time mentioned in the gallery

Report
All responses (
Answers (