Category: Uncategorized

There is a new feature in hybris 6.6, Generic Audit. The new mechanism keeps track of modifications of attribute values of the auditable set of hybris objects. For this purpose, both the original value of the object and its new value are stored in the database for further inspection, if the needs arise. According to the documentation, you can turn on and off auditing for particular types. For frequently changed objects, there is a risk that the system may consume a lot of database space over time, and the database itself grows to a very large size over time. So if you keep auditing on, you should keep these things under control. Shortly after SAP hybris 6.6 is released I found that this mechanism doesn’t work well. Specifically, when all the audit.*.enabled=false settings are applied, there are still types that are being audited anyway. The examples are Employee, Customer and Product. Many people observed the same, and the issue was reported to SAP. The bug has already been fixed, and, as to my knowledge, SAP has released a patch. I haven’t received the patch yet. I decided to investigate the issue in detail. This article reveals the details of the problem. Read More »
Essential Hybris Services
The services listed below are intensively used in SAP hybris development. It is not a full list of hybris services, but these are used almost in every project. I built the rating of services used in hybris source code and used it as a starting point for this article. The quick reference below will help you with understanding the important concepts on how services work and where they are used. For all services, the corresponding beans have the same name (start with a lowercase as per beans naming convention) Read More »
Groovy Scripting in hybris allows you to access hybris server objects directly from your browser. In this post, I share a new set of scripts. Read More »
In hybris 6.6, almost all project-specific files are located in the special folder called “data folder”. The structure of this folder is not well documented. The folders and files have “random” names. Basically, it is not very important until you find that this folder is too big. Understanding of its structure and purpose of its components will help you to troubleshoot and optimize the system. The official hybris documentation explains some technical aspects, but pretty tenuous. In this article, I’m trying to look deeper. Read More »
Web applications heavily rely on forms. Questionnaires and comprehensive registration forms are common components of the HR, financial and service solutions. The business rules behind these forms are complex and frequently updated. The well-known example is job application forms. Depending on… Read More »
This is a reference about what you get if you decide to upgrade SAP hybris Commerce to the newer version. Find your current SAP hybris version on the table and find all features you get with the upgrade. The features… Read More »