Skip to Content
0
Former Member
Apr 10, 2017 at 09:24 AM

IN backoffice cockpit-config.xm lif i add custom tab in editor area admin tab is deleted automatically

159 Views

I am trying to create my custom Tab in backoffice and i Have added the below piece of code and its Working fine ,But issue is that its deleting the Last Tab of Backoffice which is Admin Tab .Whether I am Adding in ) index Position "0th index position" or last index position its deleting last Tab Which is Admin Tab.Is there Any specific file where where we are setting the index value BECAUSE I AM NOT ABLE FIND THE INDEX SIZE WHERE WE CAN INCREASE THE SIZE .

     <editorArea:editorArea xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea">
         <editorArea:tab name="customfields" position="0">
             <editorArea:section name="Product Attributes">
             <editorArea:attribute qualifier="code"/>
             <editorArea:attribute qualifier="articleCategory"/>
             <editorArea:attribute qualifier="articleType"/>
             <editorArea:attribute qualifier="productModelName"/>
             <editorArea:attribute qualifier="manufacturerPartNum"/>
             <editorArea:attribute qualifier="endOfLifeDate"/>
             <editorArea:attribute qualifier="serviceTypeId"/>
             <editorArea:attribute qualifier="vendorWarranty"/>
             <editorArea:attribute qualifier="warrantyDescription"/>
             <editorArea:attribute qualifier="item_UOM"/>
             <editorArea:attribute qualifier="itemDimension"/>
             <editorArea:attribute qualifier="product_UOM"/>
             <editorArea:attribute qualifier="packageDimension"/>
             <editorArea:attribute qualifier="isHeaderProduct"/>
             <editorArea:attribute qualifier="isInstallationRequired"/>
             <editorArea:attribute qualifier="isHazmat"/>
             <editorArea:attribute qualifier="isJioShippable"/>
             <editorArea:attribute qualifier="isReturnPickupAvailable"/>
             <editorArea:attribute qualifier="returnWindow"/>
             <editorArea:attribute qualifier="isPriceConsolidated"/>
             <editorArea:attribute qualifier="isSerializedInventory"/>
             <editorArea:attribute qualifier="sbu"/>
             <editorArea:attribute qualifier="isTeleverificationRequired"/>
             <editorArea:attribute qualifier="manufacturerURL"/>
             <editorArea:attribute qualifier="exclusiveTill"/>
             <editorArea:attribute qualifier="giftwrapAvailable"/>
             </editorArea:section>
         </editorArea:tab>
     </editorArea:editorArea>
 </context>



 <context component="create-wizard" type="Product">
     <wz:flow xmlns:wz="http://www.hybris.com/cockpitng/config/wizard-config" id="productWizard" title="create.product.title">
         <wz:prepare id="productPrepare">
             <wz:initialize property="newProduct" type="product"/>
         </wz:prepare>
         <wz:step id="step1" label="create.product.general.label" sublabel="create.product.general.sublabel">
             <wz:content id="step1.content">
                 <wz:property-list root="newproduct">
                     <wz:property qualifier="code"/>
                 </wz:property-list>
             </wz:content>
             <wz:navigation id="step1.navigation">
                 <wz:cancel/>
                 <wz:done visible="!#empty(newproduct.code)">
                     <wz:save property="newproduct"/>
                 </wz:done>
             </wz:navigation>
         </wz:step>
     </wz:flow>
 </context>
   <context component="explorer-tree" merge-by="module">
     <n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/explorertree">
         <n:navigation-node id="DigitalIntegration">
             <n:type-node id="ProductRecordSync" code="ProductRecordSync" />
             <n:type-node id="IntegrationRecord" code="IntegrationRecord" />
         </n:navigation-node>
     </n:explorer-tree>
 </context>
 <context type="IntegrationRecord" component="listview">
     <list:list-view xmlns:list="http://www.hybris.com/cockpitng/component/listView">
         <list:column qualifier="queueName"/>
         <list:column qualifier="TransactionId"/>
         <list:column qualifier="SendTime"/>
     </list:list-view>
 </context>
 <context type="IntegrationRecord" component="simple-search">
     <yss:simple-search xmlns:yss="http://www.hybris.com/cockpitng/config/simplesearch">
         <yss:field name="queueName"/>
         <yss:field name="TransactionId"/>
         <yss:sort-field name="SendTime" asc="true"/>
       <!--  <yss:sort-field name="receiveTime" asc="true"/>-->
     </yss:simple-search>
 </context>
 <context component="editor-area" type="IntegrationRecord">
     <editorArea:editorArea xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea">
         <editorArea:tab name="essentials">
             <editorArea:section name="essentials">
                 <editorArea:attribute qualifier="messageTypes"/>

                 <editorArea:attribute qualifier="sendTime"/>
                 <editorArea:attribute qualifier="request"/>
                 <editorArea:attribute qualifier="result"/>
                 <editorArea:attribute qualifier="replyTime"/>
                 <editorArea:attribute qualifier="reply"/>
                 <editorArea:attribute qualifier="queueName"/>
             </editorArea:section>
         </editorArea:tab>
     </editorArea:editorArea>
 </context>