1. Import and export Excel data

Edit Excel data

After you export content data as an Excel spreadsheet, you can open the file to access that data. If you used an export profile, the data will be limited to the fields you included in that profile.

In the following example of an exported spreadsheet, each user is represented by a single row. You can use Excel to make required changes by adding, editing, and deleting the corresponding rows. When you have finished making changes to the spreadsheet, you can import it to Sitecore Content Hub.

Exported excel showing data fields selected in the export profile

Example of user management with Excel

The following table shows an example of exported user data, including the required columns Identifier and ModuleToUser. Module names must be separated with a pipe (|) and contain no spaces:

IdentifierUsernameModuleToUser
y1p5Vbf9TUWYDMvotFoO7QCMP_userM.Module.Content
kMAjtFSd0k69Tc-6S-F4GwCombined_userM.Module.Media|M.Module.Project|M.Module.Content
wQaES5Nn3kCFz_ngV3XdTADAM_userM.Module.Media
OwHjo8uyA0KHx0GYy1oI4wFull_userM.Module.Media|M.Module.Project|M.Module.Content|M.Module.Product|M.Module.Print
KxD7U-UT9EGHdBWrC4xpqgMRM_userM.Module.Project
7NRbtXp2jUC9woVx2CRkDgPCM_userM.Module.Product
oBt_h9zWG0SA7N4oYDt0ggPrint_userM.Module.Print

In the following example, most of the users have been added to the Superusers group by appending |Superusers to the UserGroupToUser field where needed. You can also remove unwanted group names from this field:

Edited excel user worked: export-users-added-superusers.png
If you have suggestions for improving this article, let us know!