⟹ Sitecore Wizards
⟹ Best Module for XM/XP or XM Cloud
⟹ In the thrilling arena of the Sitecore Hackathon, our team, the Sitecore Wizards, have worked on a groundbreaking Media Migration Tool designed to seamlessly transfer media content from Sitecore XP to Content Hub DAM. The Purpose of the module is to facilitate an effortless migration of media assets from XP to Content Hub DAM, by providing necessary credentials to the environment.
⟹ Currently, there is no direct module available to Migrate the Media from Sitecore to Content Hub. You have to download the media, and upload those media items into Content Hub Manually. Or you can bulk upload manually by creating an import File.
⟹ This Module, solves the problem of downloading the media items to some location and then reuploading them to Content Hub. Instead, once connected, we can directly upload the media item from Sitecore Media Library to Sitecore Content Hub DAM.
⟹ The Module works for Sitecore XM/XP as well as for Sitecore XM Cloud.
⟹ Link to the Video: https://www.youtube.com/watch?v=KgyZI17U_bw
⟹ Our module is requiring specific Sitecore modules or frameworks to function:
- Sitecore XP – Version 10.3.1
- Content Hub (for the purpose of testing this module out, we are going to share credentials to our Sitecore Sandbox account with the Judges)
- Sitecore PowerShell Extensions-6.4-IAR.zip
- Sitecore Management Services 5.2.113.zip
⟹ Write a short clear step-wise instruction on how to install your module.
- Use the Sitecore Installation wizard to install the [package](Sitecore Media Migration Module-1.0.zip)
- Once the package is installed, keep the Restart with Sitecore client checked and close the wizard.
-
Next, Open Content Editor, and go to the item: '/sitecore/system/Modules/PowerShell/Script Library/Sitecore Content Hub/Media Migration to Content Hub' and confirm that the checkbox to Enable the Module is checked. In case it is not, please check it manually.
-
Go to Media Library and right click on an Image or Jpeg type of item.
- Upon successful authentication, the Module will create a token item in System/Settings, which will be utilized for future uploads to Content Hub
- Once the Script Completes, a complete log is available showing the actions performed.
- In case the Media Item is already uploaded in the past, the module will skip uploading the item again.
- We have created members in M.Asset Definition items, to map Sitecore fields like Item ID, Item Path, Title etc.
- Also, the Module generates a Public link which can be utilized in Sitecore for future purposes.
Note: The Media items uploaded in Sitecore Content Hub Dam, will be available in the Create Section.
Future Enhancements:
- The module can be extended to support Media items other than Image and Jpeg types.
- The module can be extended to have bulk Media Upload, specifically, the whole folder, to have all the media items in Content Hub in one go.
- The module can be extended to automatically approve the media item in Content Hub, so that it is available in Final Workflow State and is accessed through the Assets section.
- WE are already generating the public link for the uploaded media items. We could install and configure the Cotnent Hub DAM Connector in Sitecore, and utilize this public link, such that, as soon as the Media item is uploaded in Content Hub, and Public Link is generated, the Module scans the complete content tree, and finds where all the given Media Item ID is available. It can then replace that with the Public Link URL.