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

Show value of attribute in other item type in HMC and Backoffice

Former Member
0 Likes
665

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member682593
Participant
0 Likes

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