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

Smart Edit: Custom Component with many to many relationship not working

543

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

Accepted Solutions (0)

Answers (0)