Xrm.Page.getAttribute('fieldName').setValue( [{id: idValue, name: textValue, entityType: typeValue}]);