on 2019 Dec 02 11:29 AM
Hi Experts,
I have created a custom component which is having many to many relations ship with the category model. Similar to the Product Carousel Component. I have added DataToModel and ModelToData populators and converts to the component. But I'm not able to add/view the categories in smart edit. Can anyone suggest what else I need to make it work?
Configuration:
<relation code="CategoriesForCarouselComponent" localized="false"> <deployment table="CatsForCatCarCompRels" typecode="30003" /> <sourceElement qualifier="customCategoryCarouselComponents" type="CustomCategoryCarouselComponent" cardinality="many"> <modifiers read="true" write="true" search="true" optional="true" /> </sourceElement> <targetElement qualifier="categories" type="Category" cardinality="many" collectiontype="list" ordered="true"> <modifiers read="true" write="true" search="true" optional="true" /> </targetElement> </relation>
Structure type registring:
<bean p:typecode="CustomCategoryCarouselComponent" p:populators-ref="defaultComponentTypePopulators" p:typeDataClass="de.hybris.platform.cmsfacades.data.CustomCategoryCarouselComponentData"/>
Thanks
Jwala
Request clarification before answering.
| User | Count |
|---|---|
| 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.