Patch(
'SIP PERFORMA LIST',
Defaults('SIP PERFORMA LIST'),
{
StudentName: Text(StudentName.Selected.displayname),
ApplicationDate: DateValue(TextInputApplicationDate.Text),
SIPSubject: TextInputSIPSubject.Text,
TeacherName: TextInputTeacherName.Text,
currentGrade: TextInputCurrentGrade.Text,
EOYTarget: TextInputEOYTarget.Text,
ReasonForSIP: TextInputReasonForSIP.Text,
LinkToExamBoardSpec: TextInputLinkToExamBoardSpec.Text,
AreaOfContentToReview: TextInputAreaOfContentToReview.Text,
ExamSkillsSpecificTargets: TextInputExamSkillsSpecificTargets.Text,
Link2examboardAssessment: TextInputLink2examboardAssessment.Text,
StrategiesActions: TextInputStrategiesActions.Text,
WhoWillMentorSupervise: TextInputWhoWillMentorSupervise.Text,
WhoWillBeInvolved: TextInputWhoWillBeInvolved.Text,
Weekly_Meetings: If(CheckboxWeeklyMeetings.Value, "True", "False"),
BiWeekly_Meetings: If(CheckboxBiWeeklyMeetings.Value, "True", "False"),
HalfTermly_Meeting: If(CheckboxHalfTermlyMeeting.Value, "True", "False"),
MonthlyMeeting: If(CheckboxMonthlyMeeting.Value, "True", "False"),
Timescales: TextInputTimescales.Text,
SuccessCriteria: TextInputSuccessCriteria.Text,
Attainment: TextInputAttainment.Text,
NextMeetingDate: DateValue(TextInputNextMeetingDate.Text),
ActionTaken_PhoneCall: If(ActionTaken_PhoneCall.Value, "True", "False"),
ActionTaken_Download: If(ActionTaken_Download.Value, "True", "False"),
ActionTaken_LetterToGoHome: If(ActionTaken_LetterToGoHome.Value, "True", "False"),
ActionTaken_GSHasOverview: If(ActionTaken_GSHasOverview.Value, "True", "False")
}
);
SubmitForm(SIP_PROFORMA);
What am i doing wrong?
Especially these lines:
ActionTaken_PhoneCall: If(ActionTaken_PhoneCall.Value, "True", "False"),
ActionTaken_Download: If(ActionTaken_Download.Value, "True", "False"),
ActionTaken_LetterToGoHome: If(ActionTaken_LetterToGoHome.Value, "True", "False"),
ActionTaken_GSHasOverview: If(ActionTaken_GSHasOverview.Value, "True", "False")
My columns in sharepoint are set to single line text - but the erros say :
rror - the type of this argument 'ActionTaken_Download.' does not match the expected type 'Text@