Directory - Organization/Departrments (bulk import to sync groups)
Last modified by Xwiki VePa on 2025/02/04 07:02
- Preparing the groups:
- Within the "Organization" admin select the "Groups" tab ("Browse" -> "Organizations" -> admin icon -> "Groups")
- Select the "Group attributes" button.
- Select "group_name_alt" (or any other field you prefer) and move it to the right, then select update.
- Select OK to acknowledge the warning (if fields are removed from the right all associated data imported before will be removed for that attribute).
- If you want to bulk import groups with those attributes you can now select "Bulk import groups".
- Select "Set fields and import order", and select "group_name_alt" (or the same field you used before) and move it to the right and select "Update"
- You may now import the groups with the fields defined, including the attributes.
- You can also do this manually by selecting the admin button on the groups and then the "Attributes" tab, and entering the alternate name of the group.
- Preparing the users:
- Now go to the users tab and select "Attributes" and select "group_name_alt" (or the same field you used before) and move it to the right and select "Update".
- Select OK to acknowledge the warning (if fields are removed from the right all associated data imported before will be removed for that attribute).
- If you want to bulk import users with those attributes you can now select "Bulk import users".
- Select "Set fields and import order", and select "group_name_alt" (or the same field you used before) and move it to the right and select "Update"
- You may now import the users with the fields defined, including the attributes.
- You can also do this manually by selecting the admin button on the user and then the "Attributes" tab, and entering the alternate name of the group.
- Syncing users with groups
- Go to the "Groups" tab
- Select "Sync users".
- Here you can do the following
- Select "group_name_alt" or the field you used before for the "user attribute" for groups.
- Select "use group attribute" and select the "group attribute" you used on the groups (e.g. group_name _alt)
- Field separators are supported if users can be in more than one group.
- Select full sync to remove users from groups that do not find a match in the list, otherwise it will only add users to groups.
- Select "Sync" and you will receive feedback on progress and errors.