on 2019 May 13 5:46 PM
Hello Experts,
Can you advise me how to show inherited data in PCM Backoffice ? Any help would be greatly appreciated.
Thanks Andrzej
Request clarification before answering.
Hi , thank you for your response.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.