2025 Feb 25 2:12 PM - edited 2025 Feb 25 2:14 PM
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.
Request clarification before answering.
There is no way in Smartedit to make child component attribute inherited from parent optional. You would need to either edit parent component or create new structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
2 | |
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.