I am using the PowerApps OOTB Calendar Screen components to select multiple dates/days and would like to store each selection as a separate record in SPO List
Please help me with the patch function.
Below are some screenshots.
Formulas Used:
If(IsBlank(LookUp(colDates2,Value=DateAdd(_firstDayInView, ThisItem.Value, Days))),Collect(colDates2,DateAdd(_firstDayInView, ThisItem.Value, Days)))
Cancel X icon OnSelect: Remove(colDates2,ThisItem)
Trash Icon OnSelect: Clear(colDates2)
2. Here is what I need some help with, I am not sure what value do I use to get the dates patched to back the SPO List date column
Added a Submit button -
OnSelect Property:
ForAll(
colDates2,
Patch(
SPODataSource,
Defaults(SPODataSource),
{
Title: "Title",
Dates: ??????
}
)
)
-----------
Thank you.
Solved! Go to Solution.
Try
ForAll(
colDates2,
Patch(
SPODataSource,
Defaults(SPODataSource),
{
Title: "Title",
Dates: ThisRecord.Value
}
)
)
Try
ForAll(
colDates2,
Patch(
SPODataSource,
Defaults(SPODataSource),
{
Title: "Title",
Dates: ThisRecord.Value
}
)
)