Enhancing Commerce Functional Capabilities

Configuring SmartEdit Enhancements

Objective

After completing this lesson, you will be able to configure SmartEdit enhancements, including audit and admin improvements, session and content security features, and UI and build configuration updates

SmartEdit Changes in Backoffice Change History

CMS item changes made in SmartEdit are now recorded in the Backoffice change history. The integration is transparent — no additional configuration required. This provides a unified audit trail across SmartEdit and Backoffice for compliance and debugging purposes.

SmartEdit Changes Now Tracked in Backoffice Change History

SmartEdit Admin Settings Page

The key/value configuration editor previously accessible under User Account > Settings > Configuration has been relocated to a dedicated Admin Settings page.

SmartEdit Configurations Changed to Admin Settings

Custom Lockfile Support for SmartEdit

SmartEdit now supports custom lockfiles for dependency installation. This allows teams to use a pinned lockfile (pnpm-lock.yaml) for custom SmartEdit extensions, improving build reproducibility.

Custom Lockfile Support

Content Sanitization for Paragraph Component

Activate the CKEditor source dialog in SmartEdit user profile settings to enable HTML content sanitization in the paragraph component. This provides an additional XSS mitigation layer for content entered via the rich text editor.

Content Sanitization for Paragraph Component

Side Navigation for Custom SmartEdit Pages

Custom SmartEdit pages can now embed the built-in side navigation bar. Add <se-side-navigation></se-side-navigation> to your custom SmartEdit page template and import SideNavigationComponent in your Angular module. The navigation items are automatically populated from the SmartEdit navigation configuration.

SmartEdit Side Navigation Component

Session Timeout Warning in SmartEdit

SmartEdit now displays a session timeout warning to the user 5 minutes before their session expires. The warning triggers a modal allowing the user to refresh the session. If ignored, the session expires normally.

SmartEdit Session Timeout Warning

Lesson Summary

  • SmartEdit CMS item changes are now recorded in Backoffice change history, providing a unified audit trail.
  • The SmartEdit configuration editor has been relocated to a dedicated Admin Settings page.
  • Custom lockfile support improves SmartEdit build reproducibility.
  • HTML content sanitization in the paragraph component provides an additional XSS mitigation layer.
  • Custom SmartEdit pages can embed the built-in side navigation bar via an Angular component.
  • A session timeout warning alerts users before their SmartEdit session expires.