Skip to Content
2
Former Member
Apr 19, 2016 at 04:59 AM

backoffice-config.xml change doesn't effect

809 Views

hi I'm trying to change backoffice view in my custombackoffice extension with following trail instruction but have a problem.

https://wiki.hybris.com/pages/viewpage.action?pageId=294094223

explorer-tree and list view setting work well but doesn't work following component.

  • base

  • simple search

  • advance search

  • editor area

I tried change following two way.

  1. change custom-backoffice-config.xml then reset to default for cockpit config at back office from Orchestrator mode

  2. change cockpit config directly from Orchestrator then store

both doesn't work. Does anyone have idea to resolve?

 <context component="simple-search" type="Sample">
     <yss:simple-search xmlns:yss="http://www.hybris.com/cockpitng/config/simplesearch">
         <yss:field name="code"/>
         <yss:field name="status"/>
         <yss:field name="comment"/>
         <yss:sort-field name="code" asc="true"/>
     </yss:simple-search>
 </context>
 <context component="advanced-search" type="Sample">
     <as:advanced-search xmlns:as="http://www.hybris.com/cockpitng/config/advancedsearch" connection-operator="AND">
         <as:field-list>
             <as:field name="code" operator="contains" selected="true"/>
             <as:field name="products" selected="true"/>
             <as:field name="brand" selected="true"/>
             <as:field editor="java.lang.Long" name="pk" operator="equal" selected="false" sortable="false"/>
         </as:field-list>
         <as:sort-field name="code" asc="false" />
     </as:advanced-search>
 </context>
     <editorArea:editorArea xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea">
         <editorArea:tab name="essentials">
             <editorArea:section name="essentials">
                 <editorArea:attribute qualifier="code"/>
                 <editorArea:attribute qualifier="comment"/>
                 <editorArea:attribute qualifier="status"/>
                 <editorArea:attribute qualifier="modelheight"/>
                 <editorArea:attribute qualifier="brand"/>
             </editorArea:section>
         </editorArea:tab>
     </editorArea:editorArea>
 </context>
 <context component="base" type="Sample" >
     <y:base xmlns:y="http://www.hybris.com/cockpit/config/hybris">
         <y:labels>
             <y:label>code</y:label>
         </y:labels>
     <y:preview urlQualifier="uploadedImages?.medias?.get(0)"/>
     </y:base>
 </context>