Skip to Content
0
Aug 30, 2023 at 05:39 AM

How to redeclare/change existing/ootb attribute columntype without extending the attribute

85 Views

Hi Team,

We want to modify the url attribute of cmslinkcomponent to accept more than 255 characters. We tried to modify in custom items xml redeclaring the attribute. getting build error.

IllegalArgumentException: cannot merge namespace ((<customextension>)) into ((<merged>)) due to duplicate type code 'cmslinkcomponent' : CMSLinkComponent::((<customextension>))::YComposedType[<customextension>-items.xml:DIGITS(ItemTypeTagListener)]<>CMSLinkComponent::((cms2))::YComposedType[cms2-items.xml:DIGITS(ItemTypeTagListener)]
Looks like we can't alter the existing attribute’s behaviour unless we create a custom component extending cmslinkcomponent for example customcmslinkcomponent and then redeclare the attribute “url“ to accept more than 255 chars.

Could you please let us know, what we can do if have to modify the existing attribute without creating custom component?

Thanks


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.