Display FullName from directory

假装没事ソ 提交于 2019-12-13 10:38:53

问题


I have a form with a User Picker field, simple. On my table I want to display the associated name of the user from my directory, not their e-mail address like the default is. Suggestions?

Thanks!


回答1:


As per the official documentation, the onValueChange event will pass an object in the newValue. This object is the user record in the directory. From there you can get the full name by using this:

var fullName = newValue.FullName;

For that to work, in the property editor you have to enable the valueIsRecord option, while the user picker widget is selected.



来源:https://stackoverflow.com/questions/57809480/display-fullname-from-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!