cancel
Showing results for 
Search instead for 
Did you mean: 

Extending/Replacing .zul file in existing OOTB Widgets

s_munivenkatappa
Discoverer
0 Kudos
408

I am trying to extend Adaptive search SearchContext Widget from OOTB to include one more selector :

<widget-definition id="de.hybris.platform.adaptivesearch.widgets.searchContext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="http://www.hybris.com/schema/cockpitng/widget-definition.xsd">

In Order to customize I have used definition.xml as below:

<widget-definition extends="de.hybris.platform.adaptivesearch.widgets.searchContext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="http://www.hybris.com/schema/cockpitng/widget-definition.xsd">
....
<view src="myCustomAsSearchContext.zul" />
....
....
</widget-definition>

But when I build and do Backoffice Reset. Still I am seeing searchContext.zul getting loaded instead of my custom *.zul file. Am I missing something or is there an additional step to make this work.

I referred below page in wiki to extend the widget :

https://help.sap.com/viewer/5c9ea0c629214e42b727bf08800d8dfa/1905/en-US/8bda5dec866910148593fca2c20f...

Please help

Regards

Swetha

Accepted Solutions (0)

Answers (0)