External
An External page component lets you implement JavaScript code from outside Sitecore Content Hub on a page, enabling advanced custom functionality on that page.
Use the External page component with caution. Some configurations might be less performant than the default components, and when migrating Content Hub to React, changes could affect the previously implemented customization.
To use this code in Content Hub you must:
-
Create and configure the code in your bundle so that it matches the required interface using the render and unmount functions.
-
Upload the bundle to Content Hub or a CDN.
-
Add an External component to the page.
-
Add custom JSON if required.
If required, compile the TypeScript code into a bundle.
To help you get started, see the Sitecore Content Hub - External Components video available on the Discover Sitecore channel. There are also several examples of how to implement an External page component available.