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

CMS Component attribut: how to make it removable in smartedit

internet_kccrm
Discoverer
0 Likes
610

Hier is the issue: My component have some optional attribut and once you have created it, you can not remove

items.xml look like:

 <itemtype code="MyComponent" extends="SimpleCMSComponent"/>
                <attributes>
                    <attribute qualifier="myAttr" type="MyAttrType">
                        <persistence type="property"/>
                        <modifiers removable="true"/>
                    </attribute>
                </attributes>
            </itemtype>

ps.

 <modifiers removable="true"/>

does not work

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member724115
Discoverer
0 Likes

Hello, I have the similar issue. Did you find any solution?

arvind-kumar_avinash
Active Contributor
0 Likes

What is your expectation of removing the component from SmartEdit? I hope, you already know the following fact:

You can remove components from content slots. When you remove a component, it’s removed from the content slot but it isn’t deleted from SmartEdit. It’s still available in any other slots or pages where it has been used and in the Add Component panel.

Source: https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/1905/en-US/1fde7c3791e94647bfba0ed5c39f...

internet_kccrm
Discoverer
0 Likes

Hello aramuk85 . I think you did not understand my question. I do not want to remove a component from Smartedit, I want to remove an attribute of the component after creating it. Thanyou