I have patched through a people selection using Shane Young's tutorial . The issue I came across is if it is not selected it won't patch through. How can I wrap a function around it to still patch through the rest of the values and leave that selection blank?
Error received if left blank: 'The specified user could not be found'
{Title: galProjectList.Selected.'Short Title',
Collaborator: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Claims: "i:0#.f|membership|" & Lower(DS_Collab_Select.Selected.Mail),
Department: "",
DisplayName: "",
Email: DS_Collab_Select.Selected.Mail,
JobTitle: ".",
Picture: "."
},