Previewing Content previewing-content

AEM offers a Sites preview service lets developers and content authors preview a website’s final experience before it reaches the publish environment and is available publicly.

It facilitates previewing page experiences that would not be otherwise visible from the author environment, like page transitions and other publish side only content.

NOTE
As the content is published to the preview environment it is accessible by URL (so does not need access to AEM).

For more details about the preview environments, see Manage Environments.

Publishing Content to Preview publishing-content-to-preview

You can publish content to the preview service by using the Managed Publication UI.

  1. In the Sites console, select the page or pages you want to send to preview and click the Manage Publication button.

  2. In the following wizard, select Preview as the destination.

    managed publication

  3. Click Next, and then Publish to confirm.

  4. A dialog will display the URLs for accessing the content in the preview environment.

    note note
    NOTE
    As the content is published to the preview environment it is accessible by URL (so does not need access to AEM).

Alternatively to using the URLs displayed in the wizard to see the preview content, you can also prepend preview- to the publish URL of your production instance.

https://preview-p<programID>-e>environmentID>.adobeaemcloud.com/<pathtopage>.html

See the document Managing Environments for more information on how retrieve the URLs for your environments.

Content may also be published to preview by using a publish content tree workflow with the agentId parameter set to preview or by using the replication API with an AgentFilter configured for preview.

Unpublishing Content from Preview unpublishing-content-from-preview

Unpublishing content from your Preview environment is basically the same process as unpublishing pages from the Publish environment.

The only difference is that you can select the Destination to be Preview.

recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab