cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Overriding of Product Approval widget in Product Cockpit doesn't work in v1811

0 Likes
614

Hi, I m trying to customize Product Approval widget in Product Cockpit in Hybris v1811, however i m unable to do so.

In my Custom backoffice the widget removal or updating the widget setting doesn't work. The code i m using to achieve so :

 <widget-extension widgetId="pcmbackoffice-contents">
     <widget id="pcmbackoffice-dashboard-view">
         <remove    widget id="pcmbackoffice-dashboard-view-product-stats-chart" />
     </widget>
 </widget-extension>

Nor setting modification for the same widget works:

 <widget-extension widgetId="pcmbackoffice-contents">
     <widget id="pcmbackoffice-dashboard-view">
         <widget id="pcmbackoffice-dashboard-view-product-stats-chart" >
                             <setting key="facetsNames" type="String">currentStatus</setting>
                     </widget>
     </widget>
 </widget-extension>

Also I created the index property for the currentStatus and is available in solr. If I update the same in pcmbackoffice it works as a charm. And yes i updated the backoffice from Orchestrator mode. However i want it to do in Custom extension. Can anyone help me on this? Am i missing any other changes required to be done for this.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

try this

<widget-extension widgetId="pcmbackoffice-dashboard-view">

<remove widgetId="pcmbackoffice-dashboard-view-product-stats-chart"/>

</widget-extension>