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

How to overwrite type definition for SmartEdit?

bliegener
Participant
0 Kudos
396

Dear SAP Community,

we are currently facing an issue in regards to SmartEdit.

We created a new CMS-Component for a "Localized Link Component" that is based (extends) the standard Link-Component for an additional field of a localized URL.

Now we have the problem, that the standard "url" attribute from the Link-Component still shows up in the SmartEdit editor for the component and is validated, which means, it needs to filled to be able to save a Localized Link-Component.

How can it be achieved to overwrite that definition/configuration?

Accepted Solutions (0)

Answers (2)

Answers (2)

samuelyang
Product and Topic Expert
Product and Topic Expert

Hi @bliegener 

The standard "url" attribute from the CMSLinkComponent type is optional, meaning it's not mandatory to have a value. Did you customize it from your project? And in case you made it mandatory per project requirement, you can still assign a default value for the url, this way it will not block you from saving the localized version. 

geffchang
Active Contributor
0 Kudos

Do you have access to SAP KBA? This should answer your question > https://me.sap.com/notes/0003169865 > 3169865 - How To remove OOTB mandatory fields (*) in SmartEdit - SAP Commerce Cloud