Hello guys, I need help with a simple thing I'm not sure about.
I have a Canvas Power App where I have a gallery, I have added a checkbox to the gallery, the user selects which records they want and clicking the button creates those records.
I made OnSelect property of checkbox to Collect(SelectedItems;ThisItem)
And button OnSelect property as:
ForAll(
SelectedItems;
Collect(
'Contacts';
Defaults('Contacts');
{
"Full Name":Fullname;
"First Name":Firstname;
}
)
);
ClearCollect(SelectedItems, {})
It actually doesnt work for me, I also tried through Power Automate and with PowerApps Trigger then PowerAppsFlow.Run(SelectedItems) but Im not sure how to map the fields in Automate I can see only Ask in PowerApps.