SmartEdit Extensions
Learn more about the extensions used in SmartEdit.
cmsbackoffice Extension
The cmsbackoffice extension defines the properties and configurations required to create a WCMS space in the backoffice application to manage CMS-related items.
cmsfacades Extension
The cmsfacades extension contains the business logic to retrieve and manipulate CMS-related items. Some of the facades implementation is based on services provided by the cms2 and cm2lib extensions in the WCMS module. The cmsfacades are then consumed by services within the cmswebservices, cmssmarteditwebservices, and smarteditwebservices extensions.
cmsoccaddon AddOn
The cmsoccaddon is an OCC AddOn that is responsible for providing a REST API layer to retrieve CMS-related item information.
cmssmartedit Extension
The cmssmartedit extension was created from the ysmarteditmodule to provide an extension that enables CMS capabilities in the SmartEdit web application. It provides CMS functionality so that users can perform operations on CMS-related items, such as pages, CMS components, content slots, restrictions and so on. Operations that users can perform include creating new components from component types, adding components to content slots, and managing page-level restrictions.
cmssmarteditwebservices Extension
The cmssmarteditwebservices extension is a backend extension that exposes CMS-related REST APIs. The cmssmartedit extension consumes REST APIs from the cmswebservices extension, which provides a headless WCMS API. When SmartEdit requires an enhancement to a REST API, or a different URI syntax, or an aggregration of an API in order to be more transactional, the cmssmartedit extension consumes REST APIs provided by the cmssmarteditwebservices extension.
cmswebservices Extension
The cmswebservices extension provides a REST API layer to expose CMS-related items. It is intended to be client-independant, so that it can eventually be consumed as a headless API.
multicountrysampledataaddon
The multicountrysampledataaddon is an AddOn that is responsible for creating sample data for the electronics storefront to demonstrate the multi-country features in the SmartEdit web application. The AddOn creates additional electronics sites to simulate parent-child catalog hierarchies. For more information about multi-country support, see SmartEdit Support for Multi-Country Implementations.
npmancillary Extension
The npmancillary extension contains the elements required for the build life cycle of all SmartEdit JavaScript-based extensions. It provides the following:
- Node and npm binaries
- Node modules third party libraries
previewwebservices Extension
SmartEdit is built to interact with web services. To use the SmartEdit preview functionality, all required functionality must be exposed through a REST API. The preview API exposes the platform's funtionality to create the CMSPreviewTicketModel object that contains session settings for the Accelerator, such as catalog version, user data, or language data.
smartedit Extension
The smartedit extension is the main extension in the SmartEdit ecosystem. It is the only web module that can be accessed by end users, such as content managers. All other web modules in the SmartEdit ecosystem provide web-based, custom JavaScript to the smartedit extension.
The smartedit extension is responsible for the following:
- Enabling the SmartEdit architecture
- Enhancing the SmartEdit application and the SmartEdit container with the remote extensions (for example, cmssmartedit and personalization)
- Embedding storefronts and invokes them in preview mode
- Bootstrapping the SmartEdit container into the parent frame
- Bootstrapping the SmartEdit application into the parent frame
- Enabling modes and features exposed in the remote extensions
For more information about the architecture of the smartedit extension, see the Architectural Services of the SmartEdit Framework.
smarteditaddon Extension
The smarteditaddon is an AddOn that is responsible for making coreaccelerator-based storefronts ready to be edited using the SmartEdit web application. The AddOn modifies SAP Accelerator storefronts so that they can be edited using the SmartEdit web application. The AddOn automatically implements the conditions of the Smartedit Design Contract (for more information, see SmartEdit Contract for Storefronts.
smarteditwebservices Extension
The smarteditwebservices extension is a backend extension that contains all the REST implementations that are considered core-specific. It consists of the following:
- Configuration REST API: Stores and retrieves a collection of key/values required by SmartEdit or its custom extensions to work. The list of remote locations to the JavaScript files that are built by the custom extensions is a mandatory subset of the configuration retrieved by this REST API.
- i18n REST API: Retrieves the map of all translatable keys and their translations for a specified locale. This is necessary for SmartEdit and its extensions to enable localization in any specified tooling language.
- Language API : Returns the collection of supported tooling languages.
ysmarteditmodule Extension
The ysmarteditmodule extension is a template extension that is used to generate a new custom extension to the smartedit. You can use this new extension to add features to the SmartEdit ecosystem. For more information, see Setting Up Your SmartEdit Development Environment.