SAP Hybris Tutorial – Converters and Populators | Unit 10

0 Comments

Overview Data objects (you could say as DTO (Data Transfer Object)) are constructed from Models or other Service Layer objects using Converters and Populators. Converters create new instances of Data objects and call Populators to populate these data objects. The data objects are produced at the Facade layer. Please view the diagram flow below to […]


Sap Hybris Tip 6 – Reduce the build and startup time

0 Comments

NOTE: We can apply one by one method above, not require apply all of them. Ref: https://community.sap.com/t5/crm-and-cx-blogs-by-sap/best-tips-to-reduce-build-time-of-sap-commerce-cloud/ba-p/13563311


Sap Hybris Tip 5 – Adding new populator for productData as product options.

0 Comments

There is a list of options to populate product data. We might see the list of configurations below: Each option has a corresponding populator, and they will populate product data in order. If we want to create a new populator to populate some new attributes for product data, like specifications, we will do the following […]


Resolving Facebook hacked account

0 Comments

My account Facebook (ABC) has been hacked since Mar 16th, 2024. It’s impacting my business and my friends received spam messages to borrow money. Account phone number: +849xxx.xxxAccount Name: ABC It seems that the email has changed. My old email address: abc@gmail.com Please help to recover.Thank you very much. 3. Verify your account. You might […]


Sap Hybris Tip 4 – Abort Cronjob – Enable Abort Action

0 Comments

In the previous post Hybris Tutorial – Cronjob | Task Schedule | Export Order Data to CSV | Unit 8, we learned the way to create the cronjob. But we don’t know how to stop it when it is executing. So in this post, we will learn about the way to abort cronjob. By default, […]


Sort Items in the Collection

0 Comments
Sort list

Use Collections from java.util to sort our list. Let’s have a look at the sample below: The result:


SAP Hybris Tutorial – Data Modeling | items.xml File | Unit 9

0 Comments
hybris data modeling, items.xml file

This is the very important part we need to know about the data modeling in Hybris. SAP Commerce allows you to match your specific business needs through product and data modeling. Good understanding of the type system allows you to reflect in your application your business model. The bean and enum generation feature also serves that […]


Sap Hybris Tip 3 – Customize The Media Urls

0 Comments
Customize Media URL

In this post, we will learn about how to custom the media url as our expected. As usual, we upload a media file, the media URL will contain some text like “..?context=…”, if we share this URL and after a period of time, we can not access that URL anymore because the new version is […]


StringBuilder or StringBuffer

0 Comments
StringBuilder or StringBuffer

String is an immutable data type (does not allow modification data after instantiation) while StringBuilder and StringBuffer are mutable data types. The table below will list the different characteristics between StringBuffer and StringBuilder. No. StringBuffer StringBuilder 1. Mechanism StringBuffer is synchronized (thread-safe). It means two threads can’t execute simultaneously methods of StringBuffer. StringBuilder is non-synchronized (not thread-safe). It […]


SAP Hybris Tutorial – Cronjob | Task Schedule | Export Order Data to CSV | Unit 8

0 Comments
Cronjob | Task Schedule | Export Order Data to CSV

Hi everyone. In this post, we will come into the different concepts, not about CMS, we will learn about: Let’s go. 1)What is a cronjob? SAP Commerce provides a means to set up regular tasks. With these tasks or cron jobs, you can repeatedly perform complex business logic at particular times and intervals. 2) Why […]