Customizing SmartEdit Owned Components and Service
Customize Components
Generally, objects under smartedit extension can be extended as they are within SmartEdit framework while objects under cmssmartedit extension can't be extended as they are for internal SmartEdit implementation. However, In cmssmartedit, you are also enabled to customize some components with optional inject tokens.
-
MediaFileSelectorComponent - MEDIA_FILE_SELECTOR_CUSTOM_TOKEN
-
MediaUploadFormComponent - MEDIA_UPLOAD_FIELDS_CUSTOM_TOKEN
-
MediaAdvancedPropertiesComponent - MEDIA_ADVANCED_PROPERTIES_CUSTOM_TOKEN
Current inject tokens are defined in smartedit-commons/src/components/media/types.ts. You can see what shape of component you can provide through inject token to customize components in cmssmartedit.
For more information on customizing components, see Trail: Overriding SAP Delivered Angular Component Written in TypeScript.
If you want to customize components of other types, submit improvement requests through SAP Customer Influence
.
Customize Services
You can only customize services which are in the SmartEdit extension and implement the interface that has prefix I.
For more information on customizing services, see Trail: Overriding SAP Delivered Angular Service Written in TypeScript.