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 16:59] – [Key features of smartEdit] 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 22: 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
 +
 +==== 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 catalogue and this catalogue is shared among many CMS Sites.
  
 ===== Key CMS Features ===== ===== Key CMS Features =====
Line 31: 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 49: 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}} {{ :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 degrees of freedom to change components and slots+    * [[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 content catalogue version, a language, an arbitrary time and product catalogue may be used to preview the site and test restrictions FIXME Check the above information+       * A preview context with a content catalogue version, a language, an 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?  
-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. 
     * Use of workflows to guide the edition and approval of those changes     * Use of workflows to guide the edition and approval of those changes
  
Line 72: Line 71:
  
 ===== 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 ==== +==== 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