Hi,
I've created a custom form that allows you to add feedback first to a collections table prior to uploading to a sharepoint list.
Data is populating to the collections table correctly for all input fields.
However, when I try to transfer the collection table to a sharepoint list, two columns won't transfer over (surgeons and instruments); these two columns are multi select list box options.
Here is my current code:
Patch(
'Clinical Lab Notes',
ForAll(
FeedbackCollection As _col,
{
Title: _col.Title,
Date: _col.Date,
Location: {Value: _col.Location.Location},
Project: {Value: _col.Project.Projects},
Procedure: _col.Procedure,
'Cadaver Gender': _col.Cadaver_Gender,
'Cadaver Levels': _col.Cadaver_Levels,
'Cadaver Pathology': _col.Cadaver_Pathology,
Step: {Value: _col.Step.'Step Name'},
Feedback: _col.Feedback,
Instrument: {Value: _col.Instrument.Instrument}
Surgeon: {Value:_col.Surgeon.Surgeon
}
)
)
There seems to be something wrong with the "Instrument" and "Surgeon" syntax.
What needs to be fixed?
List box options:

Collections Table:
