Publishing Pages publishing-pages
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 publish/unpublish a page immediately or at a predefined date/time in the future.
Terminology terminology
You may encounter different terms related to publishing as you work with ÃÛ¶¹ÊÓƵ Experience Manager (AEM) as a Cloud Service.
-
Publish / Unpublish
- These are the primary terms for the actions that make your content publicly available on your publish environment (or not).
- These are the terms used in AEM documentation.
-
Activate / Deactivate
- These terms are synonymous with publish/unpublish.
- These terms were used in previous versions of AEM.
-
Replicate / Replication
- These are the technical terms describing the movement of data (for example, page content, files, code, user comments) from one environment to another when you publish a page.
- These terms are primarily used by developers.
Publishing Pages publishing-pages-1
Depending on your location, you can publish:
- A workflow is triggered to notify the appropriate person of your request to publish.
- This workflow may have been customized by your development team.
- A message is displayed briefly to notify you that the workflow was triggered.
- if only child pages are selected for publication (as the order information is held on the parent page)
- if the parent and child pages are published in separate actions
Publishing from the Page Editor publishing-from-the-page-editor
If you are editing a page in the page editor, it can be published directly from the editor.
-
Select the Page Information icon to open the menu and then the Publish Page option.
-
Depending on whether the page has references that need publishing:
-
The page is published directly if there are no references to be published.
-
If the page has references that need publishing, these are listed in the Publish wizard, where you can either:
- Specify which of the assets, or tags, and so on, that you want to publish together with the page, then use Publish to complete the process.
- Use Cancel to abort the action.
-
-
Selecting Publish will replicate the page to the publish environment. In the page editor, an information banner is shown confirming the publish action.
When viewing the same page in the console, the updated publication status is visible.
Publishing from the Site Console publishing-from-the-sites-console
In the Sites console there are two options for publishing:
Quick Publish quick-publish
Quick Publish is for simple cases and publishes the selected page(s) immediately without any further interaction. Because of this, any non-published references will also be published automatically.
To publish a page with Quick Publish:
-
Select the page or pages in the sites console and click the Quick Publish button.
-
In the Quick Publish dialog, confirm the publication by clicking on Publish or cancel by clicking on Cancel. Remember that any unpublished references will automatically be published as well.
-
When the page is published an alert is shown confirming the publication.
Manage Publication manage-publication
Manage Publication offers more options than Quick Publish, allowing for the inclusion of child pages, customization of the references, and starting any applicable workflows and offering the option to publish at a later date.
- if only child pages are selected for publication (as the order information is held on the parent page)
- if the parent and child pages are published in separate actions
To publish or unpublish a page using Manage Publication:
-
Select the page or pages in the sites console and click the Manage Publication button.
-
The Manage Publication wizard starts. The first step, Options, lets you:
-
Action
Choose to publish or unpublish the selected pages.
-
Scheduling
Choose to take that action now or at a later date.
Publishing later starts a workflow to publish the selected page or pages at the specified time. Conversely, unpublishing later starts a workflow to unpublish the selected page or pages at a specific time.
note note NOTE If you want to cancel a publish/unpublish later, go to the Workflow Console to terminate the corresponding workflow.
-
-
Click Next to continue.
-
In the next step of the Manage Publication wizard, Scope, you can define the scope of the publication/un-publication such as including to include child pages and/or including references.
Add Content
You can use the Add Content button to add additional pages to the list of pages to be published in case you neglected to select one before starting the Manage Publication wizard.
Selecting the Add Content button starts the path browser to allow content selection.
Select the required pages and then click Select to add the content to the wizard or Cancel to cancel the selection and return to the wizard.
Remove Selection
Back in the wizard, you can select an item in the list to remove it from the selection.
Published References
You can view and modify the references to be published or unpublished for a page by selecting it and then clicking the Published References button.
The Published References dialog displays the references for the selected content. By default, they are all selected and are published/unpublished, but you can un-check to deselect them so that they are not included in the action.
Click Done to save your changes or Cancel to cancel the selection and return to the wizard.
Back in the wizard, the References column is updated to reflect your selection of references to be published or unpublished.
Include Children
note note NOTE See Publishing and Unpublishing a Tree Clicking Include Children opens a dialog box allowing you to:
- Include children
- Include only immediate children
- Include only modified pages
- Include only already published pages
Activate the required options and confirm with OK to add the children pages to the list of pages to be published or unpublished based on the selection options. Click Cancel to cancel the selection and return to the wizard.
-
Click Publish to complete.
Back in the sites console a notification message will confirm the publication.
-
If the published pages are associated with workflows, they may be shown in a final Workflows step of the publication wizard.
note note NOTE The Workflows step is shown based on what rights your user may or may not have. See the previous note on this page regarding publishing privileges and Managing Access to Workflows and Applying Workflows to Pages for details. The resources are grouped by the workflows triggered and each given options to:
- Define the title of the workflow.
- Keep the workflow package, provided that the workflow has multi-resource support.
- Define a title of the workflow package if the option to keep the workflow package was chosen.
-
Click Publish or Publish Later to complete the publication.
Unpublishing Pages unpublishing-pages
Unpublishing a page will remove it from your publish, or preview, environment so that it is no longer available to your readers.
In a manner similar to publishing, one or more pages can be unpublished from the desired destination:
Unpublishing from the Editor unpublishing-from-the-editor
When editing a page, if you want to unpublish that page, select Unpublish Page in the Page Information menu, much as you would publish the page.
Unpublishing from the Console unpublishing-from-the-console
Just as you use the Manage Publication option to publish, you can also use it to unpublish.
-
Select the page or pages in the sites console and click the Manage Publication button.
-
The Manage Publication wizard starts. In the first step, Options, select to Unpublish instead of the default option of Publish.
Just as publishing later starts a workflow to publish this version of the page at the specified time, deactivating later starts a workflow to unpublish the selected page or pages at a specific time.
note note NOTE If you want to cancel a publish/unpublish later, go to the Workflow Console to terminate the corresponding workflow. note note NOTE If you have a Preview environment you can select the Destination during Manage Publication. -
To complete the un-publication, continue through the wizard as you would to publish the page.
Publishing and Unpublishing a Tree publishing-and-unpublishing-a-tree
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 publish the entire tree in one action.
You can use the Manage Publication option on the sites console to do this.
-
In the sites console, select the root page of the tree you want to publish or unpublish and select Manage Publication.
-
The Manage Publication wizard starts. Choose to publish or unpublish and when it should occur and select Next to continue.
-
In the Scope step, select the root page and select Include Children.
-
In the Include Children dialog:
- select Include Children
- unselect Include only immediate children
- unselect Include only already published pages
- configure Include only modified pages as required
These options are selected by default, so you must remember to configure them. Confirm the selection with OK to add the content to the publication/un-publication.
-
In the Manage Publication wizard you can further customize the selection by adding additional pages or removing those selected.
Remember that you can also review the references to be published via the Published References option.
-
Continue the Manage Publication wizard as normal to complete the publication or un-publication of the tree.
Determining Publication Status determining-publication-status
You can determine the publication status of a page:
-
In the resource overview information on the sites console
The publication status is shown in card, column, and list views in the sites console.
-
In the timeline
-
In the Page Information menu when editing a page