Profile index updates

Current version: 8.2

If you wish to trigger a modification or deletion of a profile item from the index, you can do this by using the Sitecore IndexCustodian. For example:

  var index = ContentSearchManager.GetIndex("commerce_userprofiles_index_master");
  var profileKey = new CommerceProfileIndexableUniqueId(

  IndexCustodian.UpdateItem(index, profileKey);
  IndexCustodian.DeleteVersion(index, profileKey);

The GUID in this example represents the Commerce profile ID.

Do you have some feedback for us?

If you have suggestions for improving this article,