cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove item on editorarea of backoffice

Former Member
0 Kudos

My Requirement is to remove item on tab:editorarea of backoffice.

I try 2 procedure, however it didn't work.

Can anyone help? please add comment.

-Tried procedures. (1)descrie merge-mode="REMOVE" context merge-by="type" parent="GenericItem" type="Address" component="sample-editor-area"> :

(2) describe new component context merge-by="type" parent="GenericItem" type="Address" component="sample-editor-area"> :

*remove qualifier="country"

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello, everyone. I receive many good suggestions, and thank you very much. I finally consulted the following article.

https://answers.sap.com/questions/12760639/hide-a-tab-in-backoffice.html

Thanks and best regards, Kondou

Former Member
0 Kudos

Hi

Please refer below link I have given an code snippet to remove qualifier from administration tab permanently .The same can be done for other tabs.

click here . Thanks sebin

VinayKumarS
Active Contributor
0 Kudos

if you open cockpit-config.xml using orchastration.. then you will see below code. I commented country attribute for editor area.. if you do the same. it will solve your problem.

 <context merge-by="type" parent="GenericItem" type="Address" component="editor-area" module="platformbackoffice">
         <editorArea:editorArea xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea" xmlns:advanced-search="http://www.hybris.com/cockpitng/config/advancedsearch" xmlns:df="http://www.hybris.com/cockpitng/component/dynamicForms" xmlns:dsb="http://www.hybris.com/cockpitng/config/dashboard" xmlns:explorer-tree="http://www.hybris.com/cockpitng/config/explorertree" xmlns:grid-view="http://www.hybris.com/cockpitng/component/gridView" xmlns:list-view="http://www.hybris.com/cockpitng/component/listView" xmlns:na="http://www.hybris.com/cockpitng/config/notifications" xmlns:simple-search="http://www.hybris.com/cockpitng/config/simplesearch" xmlns:wz="http://www.hybris.com/cockpitng/config/wizard-config" xmlns:y="http://www.hybris.com/cockpit/config/hybris" name="">
             <editorArea:essentials>
                 <editorArea:essentialSection name="hmc.essential">
                     <editorArea:attribute qualifier="owner"/>
                 </editorArea:essentialSection>
             </editorArea:essentials>
             <editorArea:tab name="hmc.tab.common">
                 <editorArea:section name="hmc.section.addresstypes">
                     <editorArea:attribute qualifier="shippingAddress"/>
                     <editorArea:attribute qualifier="unloadingAddress"/>
                     <editorArea:attribute qualifier="billingAddress"/>
                     <editorArea:attribute qualifier="contactAddress"/>
                 </editorArea:section>
                 <editorArea:section name="hmc.section.address.address">
                     <editorArea:attribute qualifier="streetname"/>
                     <editorArea:attribute qualifier="streetnumber"/>
                     <editorArea:attribute qualifier="postalcode"/>
                     <editorArea:attribute qualifier="town"/>
                     <!--editorArea:attribute qualifier="country"/-->
                 </editorArea:section>
                 <editorArea:section name="hmc.section.address.additional">
                     <editorArea:attribute qualifier="gender"/>
                     <editorArea:attribute qualifier="dateOfBirth"/>
                     <editorArea:attribute qualifier="company"/>
                     <editorArea:attribute qualifier="pobox"/>
                     <editorArea:attribute qualifier="phone1"/>
                     <editorArea:attribute qualifier="phone2"/>
                     <editorArea:attribute qualifier="cellphone"/>
                     <editorArea:attribute qualifier="fax"/>
                     <editorArea:attribute qualifier="email"/>
                 </editorArea:section>
                 <editorArea:section name="hmc.section.address.contact">
                     <editorArea:attribute qualifier="title"/>
                     <editorArea:attribute qualifier="lastname"/>
                     <editorArea:attribute qualifier="firstname"/>
                     <editorArea:attribute qualifier="middlename"/>
                     <editorArea:attribute qualifier="department"/>
                     <editorArea:attribute qualifier="middlename2"/>
                     <editorArea:attribute qualifier="building"/>
                     <editorArea:attribute qualifier="appartment"/>
                     <editorArea:attribute qualifier="region"/>
                     <editorArea:attribute qualifier="district"/>
                 </editorArea:section>
                 <editorArea:section name="hmc.section.bmecat.address.unassigned">
                     <editorArea:attribute qualifier="remarks"/>
                     <editorArea:attribute qualifier="publicKey"/>
                     <editorArea:attribute qualifier="url"/>
                 </editorArea:section>
             </editorArea:tab>
             <editorArea:tab name="hmc.administration">
                 <editorArea:section name="hmc.common">
                     <editorArea:attribute qualifier="pk"/>
                     <editorArea:attribute qualifier="itemtype"/>
                     <editorArea:attribute qualifier="creationtime"/>
                     <editorArea:attribute qualifier="modifiedtime"/>
                 </editorArea:section>
             </editorArea:tab>
         </editorArea:editorArea>
     </context>