This section describes how to publish pages in Adobe Experience Manager (AEM). To publish a page, you activate its contents. Conversely, to remove a page from publication, you deactivate its contents.
How To Publish Pages
While you are modifying a page, you can lock the page so that other users cannot make changes or accidentally activate the content. In addition, you can preview a page before publishing by selecting Preview Mode in the sidekick.
If you are a system administrator and need to test the publish environment, see How to install AEM author and publish instances.
You can also activate a subtree of multiple pages using Activate Tree on the Tools console.
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 activate
- a message will be displayed to notify you (for a short period of time)
You can activate pages in the Websites console. After you have opened a page and modified its contents, you return to the Websites console:
In the Websites console, select the page that you want to activate.
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 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.
To schedule your activation for a later time:
- In the Websites console, go to the Activate menu, and select Activate later.
- In the dialog that opens you provide the date and time for activation and click OK. This creates a version of the page that is activated at the specified time.
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.
To remove a page from the publish environment, you deactivate the content.
To deactivate a page:
In the Websites console, select the page that you want to deactivate.
Select Deactivate, either from the top menu, or the drop-down menu on the selected page item. You are asked to confirm the deletion.
Refresh the Websites console and the content is no longer published:
To schedule your deactivation for a later time:
- In the Website console, go to the Deactivate menu, and select Deactivate later.
- In the dialog that opens you provide the date and time for deactivation and click OK.
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.
The colors next to pages in the Websites console indicate publication status.
|Green||Publication was successful. Content is published.|
|Yellow||Publication is pending. Confirmation of publication has not yet been received by the system.|
|Red||Publication failed. There is no connection with the publish instance. This can also mean that the content was deactivated.|
|blank||This page has never been published.|
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.
To activate a complete tree of your website:
Go to the Tools console by selecting it from the Welcome page or by clicking its icon at the top in AEM.
Click Replication. The tree expands.
Double-click Activate Tree. The following window displays:
Enter the Start Path. This specifies the path to the root of the section you want to activate (publish). This page, and all pages underneath, are considered for activation (or used in the emulation if a Dry Run is selected).
Activate the selection criteria as required:
- Only Modified: only activate pages that have been modified.
- Only Activated: only activate pages that have (already) been activated. Acts as a form of reactivation.
- Ignore Deactivated: ignore any pages which have been deactivated.
Select the action you want to perform:
- Select Dry Run if you want to check which pages would be activated. This is only an emulation, no pages will be activated.
- Select Activate if you want to activate the pages.
To lock a page that you are working on so no one can modify the contents or activate it:
In the Websites tab, select the page that you want to lock.
Double-click the page to open it for edit.
In the Page tab of sidekick, select Lock Page:
A message shows that your page is locked to other users. In addition, in the Websites console, AEM WCM displays the page as locked and indicates which user has locked the page.
You can only unlock locked pages if you locked the page or if you have administrator privileges.
To unlock a page:
In the Websites tab, select the page you want to unlock.
Double-click the page to open it.
In the Page tab of sidekick, select Unlock Page:
This mode allows you to preview the page as if it were appearing on your website in its final form.
To access Preview mode:
In the Websites tab, open the page you want to view in Edit mode.
In the sidekick, click the magnifying glass (preview mode). AEM WCM displays the page as it appears on your web site in its final form.
This section describes how to restore pages that have been previously deleted.
To restore a page to a previous version:
In the Websites tab, navigate to the page you want to restore and select it.
From the top menu select Tools, then Restore:
Selecting Restore Version... lists previous versions of the document. Selecting Restore Tree... lists previous versions of the content tree.
Click Restore. AEM WCM restores the version(s) (or trees) that you select.