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

PCM Backoffice : how to show inherited data

Former Member
0 Kudos
323

Hello Experts,

Can you advise me how to show inherited data in PCM Backoffice ? Any help would be greatly appreciated.

Thanks Andrzej

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi , thank you for your response.

  1. Some product attributes should be inherited from parent products. In our Cockpit extension we've created implementation of ModelService and ClassificationService interfaces and everything was working as expected. Now we are switching into PCM Backoffice and wondering how we can implement this.

  2. This question is a little bit related to previous one. Let's say that I want to show savedValues for current product in editor-area. In my backoffice-config.xml I'll insert this :

       <context merge-by="type" parent="GenericItem" type="Product" component="editor-area" principal="backofficeproductmanagergroup,backofficeproductadministratorgroup">
             <editorArea:editorArea name="" xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea" merge-mode="replace">
             
                 <editorArea:tab name="gpim.pcmbackoffice.product.editorarea.tab.lastchanges">
                     <editorArea:section name="gpim.pcmbackoffice.product.editorarea.tab.lastchanges">
                         <editorArea:attribute qualifier="savedValues">
                             <editorArea:editor-parameter>
                                 <editorArea:name>listConfigContext</editorArea:name>
                                 <editorArea:value>listview</editorArea:value>
                             </editorArea:editor-parameter>
                         </editorArea:attribute>
                     </editorArea:section>
                 </editorArea:tab>
             
             </editorArea:editorArea>
         </context>
    
    

What if I'll want to show also savedValues for parent of my current product ? Is it possible ?

Thanks Andrzej

Former Member
0 Kudos

Dear Andrzej, Do you mean inherited like for example in configurations from user groups inherited by child-groups? - such inherited values are greyed out and not editable from a child level. If you want to check what classes are inherited by type and what is a deployment table for a type then go to SYSTEM->Types->Search for type-> and look on XML representation tab. If the type does not have a deployment table defined, then you should see class after which it inherits and search for that type till you find a type with deployment table defined. Best Regards, Marta