
Announcements
My code keeps throwing the following error: "Requested Operation is Invalid: Object Must Implement IConvertible..."
After exhausting other forum posts and seraches, I have decided to make one of my own.
I am attempting to patch form data to a sharepoint list. I have included the code below. I am more than happy to provide more information. I am currently at a loss.
I have used the internal name of each column. The values of each column are as follows:
Title: Single Line of Text
OriginalArtemisEFDate: Date and Time
POName: Single Line of Text
NegotiatorAlias: Single Line of Text
DateAssigned: Date and Time
AssignmentNotes: Multiple Lines of Text
Parcel_x0023_: Single Line of Text
Patch( 'Negotiations Dashboard Data', Defaults('Negotiations Dashboard Data' ), { Title:valFirstParcelPin.Text, OriginalArtemisEFDate:DateValue(valFirstCurrentEF),POName:valFirstPOAlias_1.Text, NegotiatorAlias:ddFirstAssignee.SelectedText.'Negotiations or Admin Staff Alias',DateAssigned:DateValue(valFirstAssignmentDate),AssignmentNotes:valNegotiatorNotes.Text, Parcel_x0023_:valParcelNum });
Hi @FosterB!
Analyzing the patch function, I noticed that (Parcel_x0023_:valParcelNum) is missing ".text" at the end and i think that (NegotiatorAlias:ddFirstAssignee.SelectedText.) is ".value" instead of 'Negotiations or Admin Staff Alias'. Maybe that's not the only thing causing the error.