Connector for SAP Commerce Cloud Manual / Version 2201
Table Of ContentsCoreMedia Content Cloud comes with the Hybris workspace archive Zip file, which has to be applied to your Hybris Project Workspace. The Hybris workspace archive includes the following sub folders:
The folder
cmlivecontextcontains an yacceleratorstorefront add-on. It provides the CoreMedia Content Widget, the CoreMedia Fragment Connector and essential and demo data.The folder
cmoccaddoncontains an yacceleratorstorefront add-on. It provides additional custom OCC controllers to read product and category data, optimized for use with CoreMedia Commerce Hub. The addon will be used for SAP Hybris 1905.The folder
cmocccontains a commercewebservices extension. It replaces the previously necessary cmoccaddon and complies with the new SAP Hybris standard since version 2005. It provides additional custom OCC controllers to read product and category data, optimized for use with CoreMedia Commerce Hub.The folder
versionscontains for each supported Hybris version a dedicated folder$YOUR_VERSION/customwhich contains configuration and JSP tags, which need to be applied to other extensions of the Hybris Project Workspace. Use the$YOUR_VERSIONfolder corresponding to the version you are using. In the following the folder will be referred to as the "global files folder". If your concrete minor version is not included, there is a chance to adapt the affected files for yourself. Start with the vanilla version of each file and find the right place to add the CoreMedia extensions. They are all marked as "CoreMedia extensions" in the included examples.
Steps for your SAP Hybris 2105 workspace:
Copy the
cmlivecontextandcmoccfolders to your Hybris Project Workspace below$HYBRIS_HOME/bin/customTake the file
versions/YOUR_VERSION/custom/hybris/configlocalextensions.xmlfrom the Workspace for SAP Commerce Cloud and copy all the extensions marked with a comment of the format<!-- CoreMedia required extensions-->into your Hybrislocalextensions.xmlfile.Register the add-ons provided by CoreMedia and rebuild the workspace with the following commands:
# cd $HYBRIS_HOME/bin/platform # . ./setantenv.sh # ant addoninstall -Daddonnames="cmlivecontext" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront" # ant clean all


