Prior to go-live, it's important to establish custom error pages to prevent unexpected behavior from those pesky 500 HTTP status codes. Although you could perform a similar implementation using the Apache Web Server, you may also configure custom error pages using Hybris Commerce's web.xml file using the following XML snippet: <error-page> <error-code>500</error-code> <location>/WEB-INF/views/mobile/pages/error/ServerError.jsp</location> </error-page> <error-page> <error-code>503</error-code> <location>/WEB-INF/views/mobile/pages/error/ServerError.jsp</location> </error-page> <error-page> <exception-type>java.lang.Throwable</exception-type> <location>/WEB-INF/views/mobile/pages/error/ServerError.jsp</location> </error-page>
Year: 2017
How Do You Create a New Content Page With an ImpEx File?
ImpEx files may create new content pages in Hybris Commerce. In this tutorial, we will create the ImpEx for creating a new “Contact Us” page. Here's the ImpEx for creating a new "Contact Us" Page: $contentCatalog=yourContentCatalog $contentCV=catalogVersion(CatalogVersion.catalog (Catalog.id[default=$contentCatalog]), CatalogVersion.version[default=Staged]) [default=$contentCatalog:Staged] INSERT_UPDATE ContentPage;$contentCV[unique=true];uid[unique=true]; name;masterTemplate(uid,$contentCV);label; defaultPage[default='true']; approvalStatus(code)[default='approved']; homepage[default='false'];previewImage(code, $contentCV)[default='ContentPageModel__function_preview'];; contact;Contact Us;ContentPage2Template;/contact ImpEx Review: $contentCatalog: The variable name that contains the name of the desired content catalog the "Contact Us" page should belong to. $contentCV: The variable name that contains the name of the desired catalog version. Hybris best practice is to set the catalog version to Staged when writing your ImpEx files/scripts. uid: The …
How Do You Verify Password Encoding for Users and Customers in Hybris Commerce?
Hybris Commerce's default encoding strategy is plain text. Obviously, this encoding strategy is not safe, and must be changed before going live with your Hybris implementation. To verify the encoding strategy has been changed from plain text, you should run the following FlexibleSearch query in HAC or backoffice: select {uid},{password},{encodedPassword}, {passwordEncoding} from {user} where {passwordEncoding} != 'md5' or {passwordEncoding} != 'sha256' or {passwordEncoding} != 'sha512' or {passwordEncoding} != 'pbkdf2'
Is There a Recommended Formula For Establishing The Number of Hybris Catalog Synchronization Threads?
A reliable rule-of-thumb formula is the total number of Hybris cores multiplied by 1.5. If you have 4 Hybris cores running, your formula would be: 4 * 1.5 = 6 In your local.properties, you would then set the following: catalog.sync.workers = 6
How Do You Install the Hybris Commerce Suite License?
This is a quick tutorial that describes how to install the Hybris Commerce Suite License. This article also assumes you have the SAP Hybris license information in your possession. Open the command prompt Go to your Hybris config directory: cd <HYBRIS_HOME_DIR>/config Create a new file in this directory. The filename you choose doesn't matter. For example, you could create a file called SAPHybrisLicense.txt vi SAPHybrisLicense.txt Once the vi editor is displayed, copy and paste the Hybris license you received from the SAP License Management portal. The license will resemble the following: ----- Begin SAP License ----- SAPSYSTEM=PRD HARDWARE-KEY=XXXXXXXX INSTNO=XXXXXXX BEGIN=XXXXXXX …
How Do You Disable Hybris Backoffice Cockpits' Pre-Populated Logins and Default Passwords?
Prior to moving your Hybris Commerce implementation into production, it's important to disable the login auto-fill feature and the default passwords for the backoffice cockpits. To eliminate this potential security risk, set the pre-populated values to empty in the local.properties file. ############################################################### # The following disables default user/password for login cockpit pages and hmc ############################################################### productcockpit.default.login= productcockpit.default.password= cmscockpit.default.login= cmscockpit.default.password= cscockpit.default.login= cscockpit.default.password= hmc.default.login= hmc.default.password=
How Do You Disable Tomcat's Development Mode?
Disabling Tomcat's development mode is an important step before moving your Hybris Commerce application into production. Why is this an important pre-production step? When Tomcat is in development mode, it checks JSPs (Java Server Pages) timestamps for modifications. When a modification is detected, Tomcat will then recompile the JSP in the background. This process is wonderful for development as it helps with debugging, but will degrade production performance. Here are the steps to disable Tomcat's development mode: 1. Open and the web.xml (config/tomcat/conf/web.xml) 2. Once the file is open, please ensure your web.xml file has its development parameter value set to …
How Do You Prevent Tasks From Running On Hybris Commerce Front-End Storefront Nodes?
Answer Go to your local.properties file in the hybris/bin folder. Enter the following: task.excluded.cluster.ids=1,2 This entry will prevent nodes 1 and 2 (front-end nodes in my case) from processing tasks. Additional Background With OOTB Hybris Commerce, all nodes are eligible to process tasks from the task queue. In production, front-end storefront nodes should be configured to process customer traffic only, and not used to process backoffice tasks, which tend to require a significant amount of system resources at times.
What Are a Few Key Questions That Should Be Asked in an eCommerce Platform RFP?
What differentiates your platform from other platforms on the market? What are the upfront licensing fees? What are the yearly maintenance and support fees? Why did the unsuccessful implementations fail? Why did the successful implementations succeed?
Hybris Commerce 6.5 is Now Available!
Today, SAP announced the release of Hybris Commerce 6.5. This release includes customer experience enhancements and backoffice manageability improvements. Overall, Hybris Commerce 6.5 is packed with enough new features that any new or existing Hybris client should consider implementing. There's one particular feature within the Hybris 6.5 Order Management area that caught my attention. A feature I have implemented on several client engagements, Self Service Return Labels. I've been patiently waiting for a Self Service Return Label OOTB offering from Hybris for a while now. Let's review this new feature in detail. With Hybris Commerce 6.5, Storefront customers may download product return …