Skip to Content
May 24, 2019 at 08:07 AM

Bulk Edit : How to restrict category list to Stage Version while bulk editing


Hybris version v1811.

One of the requirement client requested for bulk edit is to restrict the listing of Category list to only from stage catalog version.

For regular area we are able to do it using ReferenceSearchCondition, but on analysis what i found is that the Bulk edit is generated by utilizing the wizard configuration in backoffice-cockpit-config.xml

 <context type="Product" merge-by="type" component="bulk-edit-wizard">
     <wz:flow id="bulkEditWizard" title="bulkedit.wizard.title" size="large">
           <wz:step id="step1" label="" sublabel="">

in Step2 of the flow it utlize the bean definition BulkEditRenderer to generate the same

         <wz:step id="step2" label="bulkedit.wizard.step.change.attributes" sublabel="bulkedit.wizard.step.change.sublabel">
             <wz:content id="step2.content">
                 <wz:custom-view id="attributesEdit" lang="zul" merge-mode="replace">
                     <wz:renderer spring-bean="bulkEditRenderer" >

Is there a way to restrict the category attribute to show results from stage catalog alone by passing parameter during bulk edit?