Skip to Content
12
Former Member
Nov 15, 2018 at 03:24 PM

SmartEdit dropdown for non CMSItems

426 Views

I have a CMSItem that has an attribute that does not extends CMSItem. I would like to be able to create and edit my CMSItem in Advanced Editor of Smart Edit. I was surprised that out of the box, the dropdown is not shown, just the label of the attribute.

So I have implemented a Populator that sets the options of the ComponentTypeAttributeData with all possible values. With this populator, the values are being displayed in the Advanced editor. After selecting the attribute and saving the CMSItem, the values are sent via 'PUT' to de.hybris.platform.cmswebservices.cmsitems.controller.CMSItemController#updateCMSItem but the values are not persisted.

Is anyone else experiencing this problem?