Reputation: 1
I have a component that inherits from CMSLinkComponent. I want to make the contentPage, url, category and Product attributes optional in SmartEdit. I tried this code:
<bean class="de.hybris.platform.cmsfacades.types.service.impl.DefaultComponentTypeAttributeStructure" p:typecode="MyCMSLinkComponent" p:qualifier="url">
<property name="populators">
<set>
<ref bean="unRequiredComponentTypeAttributePopulator" />
</set>
</property>
</bean>
But it doesn't work. It seems that the CMS Structure API only works on attributes assigned directly to this component and not to the parent component.
Upvotes: 0
Views: 28