Hi everyone,
If I create a new work package with lets say 3 action items (but only 2 of them with a specific person chosen in my choice field), it only submits these 2 action items . The one with an empty person choice field is not in my SharePoint list.
For the background of this combo box:
Name of person column in my SP list: Wunschressource
Name in my collection: LineWunschressource
Name of textinputfield: Input Wunschressource
DefaultSelectedItems on 'Input Wunschressource' : ThisItem.LineWunschressource
To create a collection to create a new work package I use
NewForm('Form new work package');;
ClearCollect(Items;
{LineWunschressource: glbEmptyPerson})
In my OneStart of my app:
Set(glbEmptyPerson, {
Claims:"",
Department:"",
DisplayName:"",
Email:"",
JobTitle:".",
Picture:"."
}
);
The DefaulSelectedItem property:
ThisItem.LineWunschressource
I was able to search for a person by typing into the combo box but this is not possible anymore. Beside the fact that rows in my gallery without a chosen Person wont be submitted to SharePoint anymore.
The error appears in this function:
ForAll(
Items;
Patch(
'Neuer SP 3400 ILLU Arbeitspakete Items';
Defaults('Neuer SP 3400 ILLU Arbeitspakete Items');
{
Title: LineTitelTätigkeitBezug;
Projekttyp: {Value: LineProjekttyp};
Wunschressource: LineWunschressource;}))
Any idea what might be the cause? Thank you very much!