I am trying to create a new item in a list and pass a value in a ‘person’ field (SPFieldUser is the Field Type) during new item creation (the person field is already filled-in in the current item):
spjs.utility.addItem({
'listName' : _spPageContextInfo.pageListId,
'data' : {
'Title' : 'newItemTitle',
'personFieldFIN' : getFieldValue('personFieldFIN')
}
})
I’ve tried a few things, but have not been able to get this working. What should be put as the data for the person field?