Not finding server render people picker AccountName property
Posted: 17 Feb 2015
The only properties I'm seeing for the object dictionary entries are Title, MobilePhone, Department, Email.
Tried both (as described here http://spform.com/forms-designer- ... eld-values):
console.log('Single test: ' + fd.field('_PCN_PersonLU').value().dictionaryEntries[0].AccountName);
var logins = '';
$.each(fd.field('_PCN_PersonLU').value().dictionaryEntries,
function() {
logins += this.AccountName + '; ';
});
console.log('Multi test: ' + logins);
And I get undefined for both.
When I do
console.log(fd.field('_PCN_PersonLU').value().dictionaryEntries[0]);
I only see Title, MobilePhone, Department, and Email.
Tried both (as described here http://spform.com/forms-designer- ... eld-values):
console.log('Single test: ' + fd.field('_PCN_PersonLU').value().dictionaryEntries[0].AccountName);
var logins = '';
$.each(fd.field('_PCN_PersonLU').value().dictionaryEntries,
function() {
logins += this.AccountName + '; ';
});
console.log('Multi test: ' + logins);
And I get undefined for both.
When I do
console.log(fd.field('_PCN_PersonLU').value().dictionaryEntries[0]);
I only see Title, MobilePhone, Department, and Email.