Publishing Pages publishing-pages

CAUTION
AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.

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.

NOTE
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.

NOTE
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.

Publishing a Page publishing-a-page

There are two methods for activating a page:

NOTE
You can also activate a subtree of multiple pages using Activate Tree on the Tools console.

Activating a Page from the Websites Console activating-a-page-from-the-websites-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:

  1. In the Websites console, select the page that you want to activate.

  2. 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.

    screen_shot_2012-02-08at13817pm

    note note
    NOTE
    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.
  3. 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.

    chlimage_1-135

  4. 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.

    screen_shot_2012-02-08at14335pm

Activating a Page from Sidekick activating-a-page-from-sidekick

You can also activate a page when you have it open for editing.

After you have opened the page and modified its contents, you:

  1. Select the Page tab in the Sidekick.

  2. Click Activate Page.

    A message displays at the top right of the window confirming that the page has been activated.

Unpublishing a Page unpublishing-a-page

To remove a page from the publish environment, you deactivate the content.

To deactivate a page:

  1. In the Websites console, select the page that you want to deactivate.

  2. Select Deactivate, either from the top menu, or the drop-down menu on the selected page item. You are asked to confirm the deletion.

    screen_shot_2012-02-08at14859pm

  3. Refresh the Websites console and the content is marked in red, indicating that it is no longer published.

    screen_shot_2012-02-08at15018pm

Activate/Deactivate Later activate-deactivate-later

Activate Later activate-later

To schedule your activation for a later time:

  1. In the Websites console, go to the Activate menu, and select Activate later.

  2. 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.

    screen_shot_2012-02-08at14751pm

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.

Deactivate Later deactivate-later

To schedule your deactivation for a later time:

  1. In the Website console, go to the Deactivate menu, and select Deactivate later.

  2. In the dialog that opens you provide the date and time for deactivation and click OK.

    screen_shot_2012-02-08at15129pm

Deactivating late r 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.

Scheduled Activation/Deactivation (On/Off Time) scheduled-activation-deactivation-on-off-time

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.

Determining Page Publication Status - Classic UI determining-page-publication-status-classic-ui

The status can be seen from the Websites console. The colors indicate publication status.

Activating a complete section (tree) of your website activating-a-complete-section-tree-of-your-website

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.

  1. Open the Tools console by selecting it from the Welcome page and then double-click Replication to open the console ( http://localhost:4502/etc/replication.html).

    screen_shot_2012-02-08at125033pm

  2. On the Replication console, click on Activate Tree.

    The following window ( http://localhost:4502/etc/replication/treeactivation.html) will be displayed.

    screen_shot_2012-02-08at125033pm-1

  3. 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).

  4. 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.
  5. Select the action you want to perform:

    1. Select Dry Run if you want to check which pages would be activated. This is only an emulation, no pages will be activated.
    2. Select Activate if you want to activate the pages.
recommendation-more-help
5955305e-451f-43a0-8168-b6ad4159b4ca