Flexible Search Query with JOIN Hybris Example - Hybris Interview question

Flexible Search Query with JOIN Hybris Example - Hybris Interview question
Flexible Search is an API provided by Hybris to fetch results from Database . You can either use it on hac console or directly in java . There are some Flexible Query examples which are widely used in Hybris Project . 1. Flexible Query in Hybris to...

ModelService.Refresh() method and Its uses - Hybris Interview question

ModelService.Refresh() method and Its uses - Hybris Interview question
The OOB Hybris Model Service provides a method, to refresh the model. Usually we use this method to refresh the data, before saving the data in database, using save method. There might be conditions, where some other thread or operation would be...

Composite Cron Job in Hybris - Hybris Interview question

Composite Cron Job in Hybris - Hybris Interview question
Composite Cron Job :  1. A composite cronJob is a composition of multiple cronjobs . 2. It means that a cronjob will call another job and also multiple cronjobs successively. 3. This phenomena is driven by CompositeCronJob and ...

How to make Extension as Template in Hybris - Hybris Interview question

How to make Extension as Template in Hybris - Hybris Interview question
1.Change in extensioninfo.xml file  First add the property below in the extensioninfo.xml after core tag of  the extension which you want to use as a template. Eg. We want to make electronicstore as template. Add he below property in extensioninfo.xml...

Create a new extension in Hybris - Hybris Interview question

Create a new extension in Hybris - Hybris Interview question
To create an extension we will use ant extgen command and yempty template . 1. Go to platform directory . 2. Run setantenv.bat commad. 3. Run ant extgen 4. Extgen prompts you to enter extension name . Enter extension name and press Enter. 5. Enter...

Difference between ant all and ant clean all in hybris - Hybris Interview question

Difference between ant all and ant clean all in hybris - Hybris Interview question
ant clean all ant all  Delete all model classes create again. Does not delete model classes but create new ones if required. It checks whether config,log,data,temp etc folders are available inside hybris...

How to run multiple hybris instance in one machine?

How to run multiple hybris instance in one machine?
So many times you need you run more than 1 server of hybris on same machine , like if you want to run your customized code and OOTB Hybris Store as well . You just need to add the following properties in local.properties File. Then do ant all and...

How can you add values to a collection type attribute and Map from Impex in Hybris ?

How can you add values to a collection type attribute and Map from Impex in Hybris ?
1. For Collection type attribute you can use comma separated values which are to be inserted. eg. INSERT_UPDATE UserGroup;uid[unique=true];groups(uid)[mode=append];readableLanguages(isocode);writeableLanguages(isocode); ;base-electronics-cmsmanagergroup;basecmsmanagergroup;ja,en,de,zh;ja,en,de,zh Here...

How to make cronjob run on some servers(in case of load balancer or cluster ) and but not on others?

 How to make cronjob run on some servers(in case of load balancer or cluster ) and  but not on others?
This scenario can be achieved using Nodes concept in hybris. 1. First you need to define applicable nodes in local.properties using cluster.node.groups property such as cluster.node.groups = backoffice,storefront . 2. Assign the cronjob...

Model service create method vs new operator - Hybris Interview question

Model service create method vs new operator - Hybris Interview question
ModelService is a Service provided by Hybris Out of the Box . It has many predefined methods such as create() , save () ,saveAll() . When we try to create a new instances of an item type programmatically, there are two ways 1 . Using the...
Page 1 of 1212345...12Next »