on 06-02-2016 1:52 PM
Hi experts,
I need to override the functionality of CreateReturnRequestAction from ordermanagementbackoffice. I can override the functionality just by extending it. After overriding the functionality how to attach/inject my custom action in place of OOTB action. I could see some definition.xml, *backoffice-widget.xml and *backoffice-config.xml etc.,.It would be great help, If some body can provide proper way to customize the OOTB backoffice functionality.
Thanks, Srini
Hello Srini,
The mapping between the action class and the action id is defined in definition.xml. customersupportbackoffice/backoffice/resources/widgets/actions/returns/createreturnrequest/definition.xml (If you don't have access to the sources, then this definition.xml would be wrapped inside customersupportbackoffice/resources/backoffice/customersupportbackoffice_bof.jar)
You would need to put the mapping( of your action class and the action id) in your action's definition.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<context component="cseditorareaactions" type="Order" merge-by="type"> <y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris">
<y:group qualifier="common">
<y:label>actiongroup.common</y:label>
<y:action action-id="de.hybris.ordermanagementbackoffice.actions.returns.createreturnrequestaction" property="currentObject" **merge-node="remove"**/>
<y:action action-id="YOUR ACTION ID" property="currentObject" />
</y:group>
</y:actions>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sahil,
for this actionId "de.hybris.ordermanagementbackoffice.actions.returns.createreturnrequestaction" respective java class present in here "de.hybris.platform.omsbackoffice.actions.returns.CreateReturnRequestAction".
where can i see the mapping between these two? b'coz i would need make the similar mapping for my class "myCreateReturnRequest".
could you please provide some pointer.
Thanks, Srini
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.