on 2019 Feb 15 3:12 PM
Hi,
lets say I have created a new Item in my *-items.xml like this:
<itemtype code="customItem" generate="false" autocreate="true" abstract="true">
<deployment table="customItem" typecode="10201"/>
<attributes>
<attribute qualifier="name" type="java.lang.String">
<modifiers optional="false" initial="true" unique="true" />
<persistence type="property"/>
</attribute>
<attribute qualifier="displayName" type="java.lang.String">
<persistence type="property"/>
</attribute>
</attributes>
</itemtype>
Now I want to add this new item to a custom css component like this:
<itemtype code="CustomComponent" generate="true" jaloclass="de.company.smartedit.jalo.CustomComponent"
extends="SimpleCMSComponent" autocreate="true">
<attributes>
<attribute type="CustomItem" qualifier="myItem">
<persistence type="property"/>
</attribute>
</attributes>
</itemtype>
I can create the new css component in SmartEdit, but I cannot add an instance of my customItem to it. It only shows up like this without a selector:

Does anyone know what I have to do here?
Thanks in advance!
Request clarification before answering.
try to follow these instructions
Creating a Custom Component Type https://help.hybris.com/1811/hcd/6c036ecad0de4e269fb50f2a41de1271.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes this is a very good question
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.