meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sap_hybris_commerce:cms_cockpit_wcms:wcms-key-concepts-and-features [2020/02/05 14:32] Antonio Robirosasap_hybris_commerce:cms_cockpit_wcms:wcms-key-concepts-and-features [2020/02/11 20:25] (current) – [Key features of smartEdit] Antonio Robirosa
Line 2: Line 2:
  
 It enables the customer to manage pages and content of multichannel-websites like banners, text, images, product carousels and other components. Marketing campaigns may be integrated in the website by setting the conditions for the visibility of components and pages. It enables the customer to manage pages and content of multichannel-websites like banners, text, images, product carousels and other components. Marketing campaigns may be integrated in the website by setting the conditions for the visibility of components and pages.
-----+ 
 +<WRAP center round important 100%> 
 +SmartEdit fully replaced the WCMS Cockpit((deprecated since hybris 6.7)) since SAP hybris 1905. [[https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/1905/en-US/c554253f5c8b4ead95f3fe76882003b6.html|SmartEdit Feature Parity vs. WCMS cockpit.]] compares the features of both modules. The underlying key concepts (pages, templates, slots, slots for pages, components) and hybris types are the same. 
 +</WRAP> 
  
 ===== Key CMS Concepts ===== ===== Key CMS Concepts =====
Line 18: Line 22:
     * **Navigation Node:** It is a page, url or media which could be directly accessed by the visitors of your website.      * **Navigation Node:** It is a page, url or media which could be directly accessed by the visitors of your website. 
     * **Component Type Group:** Set of components types allowed in a content slot     * **Component Type Group:** Set of components types allowed in a content slot
-    * **Roles** + 
-          * **CMS Designer:** creates pages and manages content +==== Data Model ==== 
-          **CMS Content Manager:** approves the content created by the CMS designers and writes the translations +    [[https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/1905/en-US/8b7cdc55866910149b09c285e4c2b1ed.html?q=cms2%20-%20Data%20Model%20Overview|Good explanation of the data model of the WCMS]] 
-          * **CMS Publisher:** approves the content approved and the translations created by the CMS content managerSends the content to the online catalogue version (publishing). +    All the CMS Types extend from **CMSItem or CMSRelation**. Both superclasses are content catalog aware
-          * Each role has a list of tasks FIXME Check if this role are still recommended by hybris +    * A page, componentslot or template can be used in many CMS Sites. They would be assigned to the same content catalogue and this catalogue is shared among many CMS Sites.
-    * **Customization levels** FIXME Check if this also applies to SmartEdit +
-          * **Easy**: Use XML configuration and user groups to change the appearance of the cockpit +
-          * **Medium**: Based on the existing CMS cockpit. Add an editorcustom section or column in the editors, add a perspective or customize the storing mechanism +
-          * **Expert**: Uses the cockpit independently of the CMS cockpitCustomize the type service, implement a new perspective which customizes all the areas, new wizard type, new cockpit application, customize the PDF preview or the fallback mechanism+
  
 ===== Key CMS Features ===== ===== Key CMS Features =====
Line 36: Line 36:
     * **Deep linking** of products, pages, categories, etc. using custom URLs.     * **Deep linking** of products, pages, categories, etc. using custom URLs.
     * Based on the following extensions:     * Based on the following extensions:
-          * cms2+          * cms2: Core hybris types of the WCMS
           * cms2lib: Reusable components. Out-of-the box comes with the banner, product detail, product list and rotating image components.           * cms2lib: Reusable components. Out-of-the box comes with the banner, product detail, product list and rotating image components.
           * cmsbackoffice: Backoffice configuration of the hybris types           * cmsbackoffice: Backoffice configuration of the hybris types
-          * cmsfacades: FIXME Complete +          * cmsfacades: Synchronization, versioning, permissions and media search services and facades 
-          * cmsoccaddon FIXME Complete +          * cmsoccaddon: Provides a REST API to query page and component information. It should be used by the frontend. 
-          * cmswebservices FIXME Complete +          * cmswebservices: Provides a REST API to query and manipulate content catalogue versions, CMS components, CMS medias, navigation nodes, languages of the websites, page, page types, content slots, CMS restrictions and synchronize CMS items. This REST API must be used to access the CMS data from other systems. 
-          * previewwebservices FIXME Complete+          * previewwebservices: Used by the Live Preview to send the preview parameters to the frontend
 ===== CMS Restrictions ===== ===== CMS Restrictions =====
     * They control the **visibility** from components and pages.     * They control the **visibility** from components and pages.
Line 54: Line 54:
 DefaultCMSPageSlotComponentService.getCMSComponentsForContentSlot(..) and DefaultCMSPageSlotComponentService.getCMSComponentsForContentSlot(..) and
 flattenComponentContainerHierarchy(..) which only return visible components. flattenComponentContainerHierarchy(..) which only return visible components.
-==== Data Model ==== 
-    * [[https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/1905/en-US/8b7cdc55866910149b09c285e4c2b1ed.html?q=cms2%20-%20Data%20Model%20Overview|Good explanation of the data model of the WCMS]] 
-    * All the CMS Types extend from **CMSItem or CMSRelation**. Both superclasses are content catalog aware. 
-    * A page, component, slot or template can be used in many CMS Sites. They would be assigned to the same content catalog and this catalog is shared among many CMS Sites. 
  
 ===== Key features of smartEdit ==== ===== Key features of smartEdit ====
 +{{ :sap_hybris_commerce:cms_cockpit_wcms:smarteditpreviewparameters.png?nolink| Live preview parameters}}
 +    * [[https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/1905/en-US/6fd6968e127f4acdba68eaac672e18fa.html|Edition modes]] with different degrees of freedom to change components and slots
     * **Pages and Storefront**     * **Pages and Storefront**
        * In-place WYSIWYG editing of pages and components        * In-place WYSIWYG editing of pages and components
        * Versioning of pages        * Versioning of pages
        * Synchronization of pages and management of the edit status of pages        * Synchronization of pages and management of the edit status of pages
-       * A preview context with a userusergroupfake time, a language may be used to preview the site and test restrictions FIXME Check the above information+       * A preview context with a content catalogue versiona languagean arbitrary time and product catalogue may be used to preview the site and test restrictions 
           * This information is passed in the url to the frontend. The CMSSiteFilter gets the id of the previewTicket and loads the data.           * This information is passed in the url to the frontend. The CMSSiteFilter gets the id of the previewTicket and loads the data.
-          * The cms:body and cms:element JSP tags contain javascript code to enable the live edit.+          * The frontend must implement the [[https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/1905/en-US/622cebcb444b42e18de2147775430b9d.html|SmartEdit Contract for Storefronts]]
     * **Navigation**: Manage navigation nodes     * **Navigation**: Manage navigation nodes
-      FIXME Can nodes be synched inside SmartEdit?  +    Use of workflows to guide the edition and approval of those changes
-      FIXME Check if the wizards can be customized **Wizards** for the creation or selection of items. They may have decision, mandatory, reference and type selector pages.+
  
  
  
 ===== Further Reading ===== ===== Further Reading =====
-[[https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/6.1.0.0/en-US/8b7d33bf86691014adecba3761464afb.html?q=cms2%20extension%20tutorial|Steps to create a CMS website]]+[[https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/6.1.0.0/en-US/8b7d33bf86691014adecba3761464afb.html?q=cms2%20extension%20tutorial|Steps to create a CMS website]] \\ 
 +[[sap_hybris_commerce:cms_cockpit_wcms:steps_to_create_a_cms_component|Steps to create a cms component]] \\ 
 +[[https://help.sap.com/viewer/4c33bf189ab9409e84e589295c36d96e/1905/en-US/8af9f8dc86691014b3e09a6aeb4664ec.html|WCMS Integration in the accelerators]] \\ 
 +[[https://help.sap.com/viewer/4c33bf189ab9409e84e589295c36d96e/1905/en-US/8ace75c786691014a5e9dcafa29d5410.html|Customizing the Accelerator with extgen and modulegen]] \\
 ===== Pitfalls ===== ===== Pitfalls =====
     * Page templates must be created in the backoffice cockpit or using Impex     * Page templates must be created in the backoffice cockpit or using Impex
     * To change the usage of the attributes name and uid is a difficult and long task because of the way the wizards use them.     * To change the usage of the attributes name and uid is a difficult and long task because of the way the wizards use them.
  
-==== CMS Cockpit((deprecated on SAP hybris 6.7)) ==== +==== SmartEdit ===== 
-    * **The popup editor can't open another popup.** This means that you if you have a complex tree of components, the editors in the WCMS cockpit support four levels of components (slot, component container in the component editor, child component in the component editor, another component in popup editor).+    * There currently no way to synchronize the navigation nodes inside SmartEdit (with SAP hybris 1905) 
 +    * Wizards for for the creation or selection of items with decision, mandatory, reference and type selector pages can't be created. This was a feature of the deprecated WCMS cockpit. 
 + 
 + 
 +==== Deprecated WCMS cockpit ==== 
 +    * **The popup editor can't open another popup.** This means that you if you have a complex tree of components, the editors in the WCMS cockpit support four levels of components (slot, component container in the component editor, child component in the component editor, another component in popup editor). \\
 FIXME Test this case on SmartEdit FIXME Test this case on SmartEdit