We recommend reviewing what is submitted before posting, in case your idea has already been submitted by another community member. If it has been submitted, vote for that existing feature request (by clicking the up arrow) to increase its opportunity of being added to Cireson solutions.
For more information around feature requests in the Cireson Community click here.
Customize appearance of names in user picker
If we could customize them to show as "LastName, FirstName (UserName)" or "LastName, FirstName (Office)", for example, this would eliminate the problem.
Could this be a setting in the admin configuration, perhaps?
Comments
If both users are from AD and the display name workaround doesn't suffice (because I would entirely understand someone saying "I don't like that my Cube number is in my name" or some other qualifier), you could perhaps do something like show the organizational unit they are a part of as a tooltip/hint or something.
The tooltip would be fine, but I think it would be simple enough to show DisplayName + (Office) in the dropdown list, instead. The value is the GUID, which would not be affected by this change. This seems like a really easy way to handle this.
Letting portal admins define a name format string that is constructed from available User object properties seems to me like the way to make this a quick win for everyone.
app.custom.formTasks.add('Incident', null, function (formObj, viewModel) {
formObj.boundReady(function() {
$('input.input-userpicker').data('kendoAutoComplete').setOptions({template: "#: data.Name # (#: data.Email#)"});
});
});
I've got this working in test however it seems to only work on the "Affected User" people picker not other people pickers of the same input-userpicker class such as "Assigned To". Only difference with these inputs appears to be the filterbyanalyst property.
Is this the same for others? Any ideas on how to get it working on the other inputs?
app.custom.formTasks.add('Incident', null, function (formObj, viewModel) {
formObj.boundReady(function() {
$('input.input-userpicker').each(function(){
$(this).data('kendoAutoComplete').setOptions({template: "#: data.Name # (#: data.Email#)"});
});
});
});