Connect your local host to Pages
The Pages editor is connected by default to the XM Cloud editing host, meaning that any content updates made in Pages apply to the entire environment. Developers who create components for XM Cloud can instead connect the Pages editor to their local host, so they can visualize and test their components without having an impact on other users who share the same environment, or on any published sites.
Connect your local host
To connect your local host to Pages:
-
To open Pages, on your site, click Actions > Edit in Pages. Alternatively, navigate directly to
https://pages.sitecorecloud.io/editor
and select the relevant site in the drop-down on the top left. -
On the top left, open the editing host selector, and select Local host.
-
Enter the name of your local host, such as
http://localhost:3000/
. -
Save your changes.
Reconnect the default editing host
At any time, you can switch back to the default editing host. When you do, your changes are reflected in the site for the entire environment and its users.
To switch back to the default editing host:
-
Open the editing host selector.
-
Select Default editing host.
-
Save your changes.