close

Filter

loading table of contents...

Connector for SAP Commerce Cloud Manual / Version 2310

Table Of Contents

4.3 Check if everything is working

Prerequisites
  • The CoreMedia Content Cloud infrastructure has been deployed and is running.
  • The Hybris workspace archive has been applied to the Hybris Project Workspace and the SAP Hybris Commerce server is running.
  • The SAP Hybris Commerce server is accessible from CoreMedia Studio and the Commerce Adapter servers.
  • The CoreMedia Preview CAE and Live CAE are accessible from the SAP Hybris Commerce server.
Check the Studio - Hybris REST Connection
  1. Open Studio, select the "Hybris Apparel - English" site, open the Library. If necessary, switch the Library to browse Mode.
  2. In the repository tree view, locate a node named Apparel-Catalog. This is the entry point to browse the connected Hybris product catalog.
  3. Browse the catalog in studio and check if everything works as expected. Section 6.1, “Catalog View in CoreMedia Studio Library” describes what it looks like.

If errors occur:

Check Studio - Hybris Preview Integration
  1. Open the Homepage of the "Hybris Apparel - English" site in Studio

    The Hybris shop page should be displayed in the preview panel.

  2. Repeat step 1 for Products and Categories.

If errors occur:

  • Check the Studio log, the Preview CAE log and the Commerce Adapter log for errors.
  • Check if hybris.link.storefront-url is configured correctly for the Commerce Adapter.
  • Check if the "coremedia_preview" OAuth client has been imported via impex correctly. This is required to request a cmsTicket from Hybris previewwebservices extension.
  • Check if, StudioPreviewUrlService is accessible. Call https://hybrishost:9002/yacceleratorstorefront/cmpreview. The given URL is incomplete, but the controller should be dispatched and raise an error like "HTTP Status 400 - Required String parameter 'type' is not present".
Check Fragment Connector
  1. Open the Apparel-UK site and check if CoreMedia Demo content is displayed.

    The Hybris homepage should be displayed and CoreMedia is embedded.

If errors occurred or no CoreMedia Content is displayed

  • Check for errors in the Hybris log and the Preview CAE log and the Commerce Adapter log.
  • Check, if $HYBRIS_HOME/bin/custom/cmlivecontext/project.properties is configured correctly.
  • Check in SAP SmartEdit, if the homepage has content slots containing CoreMedia Content Widgets. These slots are named "LiveContext HP Slot XX". If not, something went wrong while importing impex data.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.