on ‎2018 Jun 26 11:42 AM
Hi, i'm trying to display a value stored on item type "customer" in item type "order" in HMC & BO. I have tried to use the "referenceeditor" tag but it does not seem to work. For ex
<attribute name="companyName">
<referenceeditor autoperform="true">
<preset targetattribute="owner" sourceattribute="customer"/>
</referenceeditor>
</attribute>
Does anyone have an solution to this? Since it fells wrong to create an dynamic attribute just to display an String value.
Request clarification before answering.
Hi,
I'm not sure if you know that the hmc schema is not compatible with backoffice xml schema of the configuration. There is a tool 'HMC to Backoffice Configuration Migrator' available on site https://wiki.hybris.com/display/downloads
And if you want to display e.g. a catalogVersion of a Product in an EditorArea of the Product, this is configured like
<editorArea:attribute qualifier="catalogVersion"/>
The correct reference editor is chosen automatically. You can look at the existing configuration of editor-area for Product type, in file source/platformbackoffice/resources/platformbackoffice-backoffice-config.xml in platformbackoffice extension.
Thanks Marcin
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 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.