on 2018 Jul 30 10:29 AM
Hi Experts,
I want to modify an existing Backoffice form i.e. the 'Create Return Request' form available in the Customer Service Backoffice perspective.

Basically I do not want the form to contain the existing form elements for e.g. instead of Order, Customer Name, Total Discount, the Product table, the 'RESET' and 'CONFIRM SELECTED' buttons, I want a simple title called 'XYZ RETURN REQUEST' and 2 labels and textboxes like 'RETURN NO' and ' RMA NO'.
Is this possible? If so please suggest how?
Thanks
Request clarification before answering.
Hi,
I'm not familiar with Customer Support view, but you need to check the configuration. I think the first section is done by config, so you can easily hide the attributes inside it. However the sections below seems like created by a custom section renderer. You need to find out the spring bean and class used for that, and override it.
Thanks, Marcin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Marcin for the comment. But I did not found any custom renderers for this view/form. Maybe this is not transparent to the developer in backoffice.
The goal is even if I can show my widget (myomscreatereturnrequestwidget) instead of the existing form widget ('omscreatereturnrequestwidget') this will serve my purpose.
I could achieve this by changing the customerbackofficesupport extension widget configuration (customersupportbackoffice-backoffice-widgets.xml) file to refer to my widget instead of OOTB one , but however this might not be a good design and recommendation by Hybris.
This is what the merging mechanism is for. You can override the view / behaviour of existing components (in customersupportbackoffice) by placing appropriate configuration in your own extension. Check out the documentation: https://help.hybris.com/6.7.0/hcd/8bd51bcd8669101486cec32d579bb2c2.html#loio8bd51bcd8669101486cec32d...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.