Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide describes how to update the DAM for Sitecore (DFS) module without losing data.

Before beginning it is important that the reader has knowledge of how itemIds are calculated in DAM for SitecoreDFS. This knowledge is important because it is the base line of for understanding this guide. An explanation of this may can be found here.

The updating process is as follows:

  1. Backup Sitecore
  2. Serialize the Asset silo item
    1. Go into content editor
    2. Right-click top bar and select developer tab (make Developer tab visible)
      Image Removed
      Image Added
    3. Select the asset silo of the DAM for Sitecore DFS installation
    4. click Click the "serialize item" button in the Developer tab
      Image Added
    1. By default the item is stored
  1. in
    1. beneath <sitecore root>\data\serialization (e.g. "C:\Inetpub\wwwroot\test802\Data\serialization\master\sitecore\media library\Digizuite")
  2. Update the package
    1. Install the package as a normal Sitecore package
    2. Overwrite everything

      Info
      titleNote

      This will break ALL the links on the Sitecore webpage. It mends it self once the full re-synchronization has been run. This is due to the fact of how way Sitecore ItemIds are created.


  3. Revert the item
    1. Go into content editor Content Editor
    2. select Select the Digizuite item in Media library
    3. Image Added
    4. Go to the developer Developer tab
    5. press "Press Revert tree"This should make the Asset silo that was previously serialized
    6. Image Added
    7. Press F5
    8. Now your Asset silo will appear again
  4. Do a full re-synchronization of the asset silo

All the links will mend themselves at this point (be un-broken). The reason for this that everything works after doing the above steps, is that the Sitecore itemIds off of all the assets and configuration should have the same itemIds as before because the configurations will revert back to their pre-update itemIds from before.

The ItemIds are calculated based on the asset silo ItemId. Seeing as As the "new" silo is the same as the one before, then all the assets and configuration configurations will also have the same itemIds again.