Get user name or id

ZForms for Office 365 > How to? > Get user name or id

If you want to include user name in the item title pattern:

  • Select value type Generated in the properties of the Title field;
  • Set pattern “[item.userfield]” where userfield – Internal Name of a field of type User;

Sample to get user id:
(item.userfield||[{}])[0].title, where userfield – Internal Name of a field of type User.

Contents