SAP Hybris Tutorial – CMS Allow Drag, Drop, Move and Clone Component | Unit 7

0 Comments
Hybris drag drop component

In this post, we will learn how to drag and drop and clone the Youtube component which created in unit 3. Contents: Let’s go. 1)Allow components are available in Add Component “+ Component” section. Wide and Narrow are common pre-defined group in Hybris platform. They allow us drag, drop, edit, delete component in cms page. […]


SAP Hybris Tutorial – Hybris Introduction | Hybris Installation | Unit 1 – Part 1

0 Comments
Hybris introduction | Hybris Installation

Hello everyone. Now we are coming to the series of posts about learning SAP Hybris. I have created some posts belong this series before (about Hybris CMS from Unit 2 – Unit 6). Now I think I should create a fundamental to advanced series not only to share my knowledge to everyone but also to […]


SAP Hybris Tutorial – Import Hybris Project into Intellij | Eclipse IDE | Unit 1 – Part 2

0 Comments
Hybris Import Hybris project into IntelliJ | Eclipse

In this post, we will lean how to import our Hybris project into common IDE. Part 1: Import Hybris Project into Intellij IDE Part 2: Import Hybris Project into Eclipse IDE Congratulation.!!! We did it. In the next post we will learn how to create custom template in WCMS. Happy coding.!!! <3 <<< Hybris Introduction […]


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: […]


List and Set in Java

0 Comments

List and Set are common collections in Java. They are used to contain items that have the same data type. The difference is List allow contain duplication of items while Set is not allowed. Code example: Result: NOTEs Errors: 1. Exception in thread “main” java.lang.UnsupportedOperationException: remove Run the following code below to get the error: […]


HashSet and Set

0 Comments

Set is a collection that contains unique items. In this post, we will cover the way to convert a string array to Set<String>. There are 2 approaches to do this requirement. Let’s consider which one we need to use. 1) Using new HashSet<>() HashSet is a mutable collection. That means we can modify the set […]


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 […]