SAP Hybris Tutorial – CMS Create Content Slot for Page | Unit 6

0 Comments
hybris content slot for page

In the Unit 3, we known how to create content for page by adding content of custom components into the template. But this added content seem applied to all pages which use the same template. The question is how to separate content for each page which are using the same template.? In this post we […]


SAP Hybris Tip 2 – CMS Component Visitor

0 Comments
CMS Component Visitor

The Visitor helps us to catch the change value on the reference attributes of components. NOTE: It won’t work for partof=”true” attributes. Steps: 1, Create a visitor java file. 2, Register the visitor bean into context. 3, Map the cms visitor with the Component model Let’s go. 1, Create a visitor java file. OOTB also […]


SAP Hybris Tutorial – CMS Giving an entry for a page. | Unit 5

0 Comments
giving an entry for page

In the previous post, we created and published a page id: “contactContentPage” Now, we want to pin this page on somewhere on our site in order to users can access into our page. So the steps will be: Let’s go dive into each step. Step 1: Find the parent node id. (parent entry) The menu […]


SAP Hybris Tutorial – CMS Publish a Page to Online Mode | Unit 4

4 Comments
Publish content page

In the previous post, we told about the custom component on a template and view it on the page. But we can’t view this page on the Online mode. So, in this post, we are going to publish the page which used our custom template, from Staged mode to Online mode. Let’s get started. Steps: […]


SAP Hybris Tip 1 – Smartedit Infinite loading…

0 Comments
Smartedit infinite loading

Sometimes we face issues like the images below when opening smartedit page, and we don’t see any error in the log console. Solutions Open localextensions.xml file and trace with the list extensions below: To ensure sure that the access rights are correctly set up so that you can log in to SmartEdit, you must do one […]


SAP Hybris Tutorial – CMS Create Custom Template | Unit 2

0 Comments
Hybris create custom template

To create a page, we need to choose a template for the page. We can use the existed template or can create a new template for this page. In this post, we will cover how to create a new template for the page. Step 1: Create a new page templateStep 2: Set component slots name […]


SAP Hybris Tutorial – CMS Create Custom Component | Unit 3

0 Comments
Hybris create custom component

Today, we will create a Youtube Video Component and include this component into: “Contact Page Template” Steps:1. Define Item Type Component in *item.xml file2. Define Impex to init data for component3. Create Controller and JSP page for this component4. Update the JSP page template and include the components5. Verify the result 1. Define Item Type […]