Serialize an item or a tree of items

Version:

When you serialize an item or a tree of items, Sitecore stores the item hierarchy in text files. This topic tells you how to:

Serialize items

You can serialize a single item or a series of items.

To serialize an item:

  1. In the Content Editor, select an item.
  2. On the Developer tab, in the Serialize group, click Serialize Item.

To serialize an item with all its subitems:

  1. In the Content Editor, select a parent item.
  2. On the Developer tab, in the Serialize group, click Serialize Tree.

Serialize security entities

You can serialize security entities. The following table describes the serialization commands and the applications where you perform them:

Sitecore applicationCommandDescriptionStorage folder
User ManagerSerialize UserSerializes the selected user.In the serialization folder:

/security/domain name/users/user name/*.user
Serialize All UsersSerializes all the users.
Revert UserReverts the selected user.
Revert All UsersReverts all the users.

All the users who are in the database but are not in the file system will be removed.
Role ManagerSerialize RoleSerializes the selected role.In the serialization folder:

/security/domain name/roles/role name/*.role
Serialize All RolesSerializes all the roles.
Revert RoleReverts the selected role.
Revert All RolesReverts all the roles.

All the roles that are in the database but are not in the file system will be removed.
Domain ManagerSerialize Domain UsersSerializes all the users in the selected domain.See above.
Serialize Domain RolesSerializes all the roles in the selected domain.
Serialize Domain Users and RolesSerializes all the users and roles in the selected domain.
Revert Domain UsersReverts all the users in the selected domain.

All users from the selected domain which are not in the file system will be removed.
Revert Domain RolesReverts all the users and roles from the selected domain.

All roles from the selected domain which are not in the file system will be removed.
Revert Domain Users and RolesReverts all the users and roles from the selected domain.

All users and roles from the selected domain which are not in the file system will be removed.
If you have suggestions for improving this article, let us know!