i need your help. I would like to save all email addresses from the "colSelectedPerson" collection into a SharePoint "Permissions" list.
The structure of the collection is as follows:
Name | |
Adam Rzychon | Adam.Rzychon@adamspp.de |
Mike Tryderson | Mike.Tryderson@adamspp.de |
The email addresses from the collection should go into an SP column, which is defined as a person column with multiple selection.
So far I've tried this code:
SubmitForm('03_01_04-06_frm_Form'); // Formular absenden
Set(varLastSavedRecord, '03_01_04-06_frm_Form'.LastSubmit.ID);
ForAll(
colSelectedPerson,
Patch(
Permissions,
LookUp(Permissions, ID = varLastSavedRecord),
{Person: ThisRecord.mail}
)
);
Set(varBreadcrumbValue, 2);
ResetForm('03_01_04-06_frm_Form')
This code is throwing an error. I feel like it is expecting a table.