Get user name or id

DocTrix Forms 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/Group;

Sample to get user id:

(item.userfield||[{}])[0].title,

where userfield – Internal Name of a field of type User/Group.

Contents