So I have a Patch button that will patch several fields to a Sharepoint list. In the sharepoint list the person column is not required but the patch function won't work at all if the combobox people picker is left empty. The formula to patch this column is the one bellow (which works fine providing someone was selected):
;
Agente:{ //name of the column in sharepoint list
Claims: Concatenate(
"i:0#.f|membership|";
Agente.Selected.Mail // Person email
);
Department: "";
DisplayName: Agente.Selected.DisplayName; // Agente here is the combobox name
Email: Agente.Selected.Mail; // Person email
JobTitle: "";
Picture: ""
};
PS: don't mind the semicolons, for some reason it's the way to work in brazilian portuguese Powerapps.