Hi,
i have a app using CDS data and can patch all fields to sharepoint fine, Apart from the user lookup fields.
example of what works fine
Patch('Corporate Data Capture Data List', Defaults('Corporate Data Capture Data List'), {ContractNo: contractnossei.Text, Contractname: contractnamessei.Text, Selected_Contractor: selectedcontractorssei.Text, Title: projectnumberssei.Text, Project_x0020_Name: projectnamessei.Text, Inspection_x0020_Date_x0020__x00: InspectionDatessei.SelectedDate}); Navigate('Browse Screen',ScreenTransition.Fade)
however when i try to patch the person field from the user entity i receive an error. Can data from a person lookup in CDS be saved into a sharepoint list and if so can people point me as to what im doing wrong?
List column is a person/group field
Error is invalid argument type. Expecting a record value, but of a differnt schema. Missing column. your formua is missing a column 'claims' with the type of text the function patch has some invalid arguments.
Site_x0020_Safety_x0020_Agreed_x94: ResponsiblepersonA1.Selected
Appreciate any help
Robert


Report
All responses (
Answers (