DocTrix Forms for Office 365
- Create your first form
- Build expression with the reference to the other field(s) value
- Get value out of the fields and controls
- Check if the value of a field is empty
- Make user redirect to the URL
- Fill in current user in User/Group fields by default
- Get user name or id
- Compare user values
- Check current user for SharePoint Online user group membership
- Compare dates
- Limit the number of symbols in text field
- Get value of lookup field
- Set default value for the field
Check current user for SharePoint Online user group membership
DocTrix Forms for Office 365 >
How to? > Check current user for SharePoint Online user group membership
Check if current user is a member of the group specified in a field:
dataAdapter.getCurrentUserGroupNames().then(groupNames =>
groupNames.indexOf(item.usergroupfield.value) > -1),
where usergroupfield – Internal Name of the field.
Check if current user is a member of the specified group:
dataAdapter.getCurrentUserGroupNames().then(groupNames =>
groupNames.indexOf('GroupName') > -1),
where GroupName – name of the group.