Hi:
Trying to Patch a Collection Column titled "Active" values from the collection to a SharePoint List Boolean column titled "Active" with a click of a button (See Attached)
SP List: ARMStasks
Main Collection: colGalTasksData (Stores all the records from ARMStasks)
Sub Collection: colSelected (Stored selected records by a check box in a Gallery)
PowerApps Archive Screen: - Displays Gallery with Data source = colGalTasksData
- Allows user to select an individual or all the Record(s) using the check Box(s).
- Allows User to select the Archive Status in dropdown drpArchiveStatusAT (2 options Active, Inactive)
Load Data Button - Loads data from SP list in the Collection colGalTasksData
Update Data Button - Updates the Collection colGalTasksData with changes made in the Gallery using Check Boxes.
Save Data Button - Saves data from the collection to the SP List - The Script below gives an error.
Save Data Button Script for OnSelect property - that is not working:
ForAll(
colGalTasksData as MyCollection,
Patch(
ARMStasks,
ID:MyCollection.ID
{Active:MyCollection.Active.Value}
)
);
Need help in resolving the error(s).
Thank you,
SueA.