I have create a new component with 3 personal Attributes (prouctId, addiionalDocuments, banner).
After I intinalize the System I can't see the attributes in the cms-cockpit but I can see the attributes into the HMC on the component.
Have anyone a idea what I have to change?
Hello Torben,
It is possible that the Config media file is not updated with your changes. Verify this from hmc > Media > Search with "SpecialOfferComponent" in the identifier.
Click on the result to activate the editor and preview the xml file. This should be the latest one. If you donot see your changes, upload the latest version of the editorArea_SpecialOfferComponent.xml or execute a platform update with project-data checked for your custom cockpit extension (Assuming convention method is followed over configuration).
If you already see the latest file in the media, it could be a cache issue. Try clearing the browser cache or access the custom cockpit in an incognito mode.
Hope this helps.
Br, Shwetha
Hello Torben,
Have you defined a specific Editor for the displaying the new attributes?
You could refer to Editor_ParagraphElement_CockpitGroup.xml and its configuration for CMSParagraphComponent in ui_components.csv in the cmscockpit as references.
Hope this helps.
Br, Shwetha
I have write this editorArea_SpecialOfferComponent.xml
<group qualifier="General" visible="true" initially-opened="true">
<label key="cockpit.config.label.General" />
<property qualifier="CMSItem.name"/>
<property qualifier="CMSItem.catalogVersion" editor="shortListEditor"/>
<property qualifier="AbstractCMSComponent.visible"/>
</group>
<group qualifier="editorial" visible="true" initially-opened="true">
<label key="config.general.editorial" />
<property qualifier="SpecialOfferComponent.productIds" />
<property qualifier="SpecialOfferComponent.stoererImageUrls"/>
<property qualifier="SpecialOfferComponent.additionalDocumentUrls"/>
<property qualifier="SpecialOfferComponent.additionalPriceInfo"/>
</group>
<group qualifier="visibility" visible="true" initially-opened="false">
<label key="config.general.contextvisibility" />
<property qualifier="AbstractCMSComponent.restrictions">
<parameter>
<name>allowCreate</name>
<value>true</value>
</parameter>
</property>
<property qualifier="AbstractCMSComponent.onlyOneRestrictionMustApply"/>
</group>
<group qualifier="admin" visible="true" initially-opened="false">
<label key="config.general.administration" />
<property qualifier="CMSItem.uid"/>
<property qualifier="AbstractCMSComponent.slots"/>
<property qualifier="AbstractCMSComponent.container"/>
<property qualifier="Item.pk" />
<property qualifier="Item.creationTime" />
<property qualifier="Item.modifiedtime" />
</group>
<custom-group
class="de.hybris.platform.cockpit.services.config.impl.UnassignedEditorSectionConfiguration"
qualifier="unassigned"
initially-opened="false"
visible="false">
<label key="cockpit.config.label.Other" />
</custom-group>
But I don't see the Attributes also I see not the editorial-Area in the cms-cockpit if I will edit the Component by the cms-cockpit.
I hope it more clear what I mean!
Add a comment