Once you have created and reviewed your content on the author environment, the goal is to make it available on your public website (your publish environment).
This is referred to as publishing a page. When you want to remove a page from the publish environment is referred to as unpublishing. When publishing and unpublishing the page remains available on the author environment for further changes until you delete it.
You can also publish/unpublish a page immediately or at a predefined date/time in the future.
Certain terms related to publishing can be confused:
- Publish / Unpublish
These are the primary terms for the actions that make your content publicly available on your publish environment (or not).
- Activate / Deactivate
These terms are synonymous with publish/unpublish.
- Replicate / Replication
These are the technical terms describing the movement of data (e.g. page content, files, code, user comments) from one environment to another such as when publishing or reverse-replicating user comments.
If you do not have the required privileges for publishing a specific page:
- A workflow will be triggered to notify the appropriate person of your request to publish.
- A message will be displayed (for a short period of time) to notify you of this.
You can also activate a subtree of multiple pages using Activate Tree on the Tools console.
You can activate pages in the Websites console. After you have opened a page and modified its contents, you return to the Websites console:
Select Activate, either from the top menu, or the drop-down menu on the selected page item.
To activate the content of the page and all its sub-pages use the Tools console.
If necessary, AEM requests that you activate or reactivate any assets that are linked to the page. You can select or clear the check boxes to activate those assets.
AEM WCM activates the selected content. The published page or pages appears in the Websites console (marked green) with information about who activated the content as well as date and time of activation.
You can also activate a page when you have it open for editing.
After you have opened the page and modified its contents, you:
- Select the Page tab in the Sidekick.
- Click Activate Page.
A message displays at the top right of the window confirming that the page has been activated.
Activating later starts a workflow to activate this version of the page at the specified time. Conversely, deactivating later starts a workflow to deactivate this version of the page at a specific time.
If you want to cancel this activation/deactivation, go to the Workflow Console to terminate the corresponding workflow.
Deactivating later starts a workflow to deactivate this version of the page at a specific time.
If you want to cancel this deactivation, go to the Workflow Console to terminate the corresponding workflow.
You can schedule times for a page to be published/unpublished using the On Time and Off Time that can be defined in the Page Properties.
The status can be seen from the Websites console. The colors indicate publication status.
From the Websites tab you can activate the individual pages. When you have entered or updated a considerable number of content pages - all of which are resident under the same root page - it can be easier to activate the entire tree in one action. You can also perform a Dry Run to emulate an activation and highlight which pages would be activated.