publish a whole site AEM 6.5

Avatar

Avatar
Validate 10
Level 3
key-key
Level 3

Likes

18 likes

Total Posts

73 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
key-key
Level 3

Likes

18 likes

Total Posts

73 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
key-key
Level 3

09-06-2020

As a content author, How can i publish a whole site in AEM 6.5 in one go?  I suppose its using the manage publication feature and adding the root page to include subpages? 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

645 likes

Total Posts

607 posts

Correct reply

239 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

645 likes

Total Posts

607 posts

Correct reply

239 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
BrianKasingli
MVP

09-06-2020

Hi @key-key,

To successfully publish your entire AEM site to all your publishers, and assuming your website is not too large, and assuming that you only have access to the Author you can:

  1. Setup: Configure your replication Agent with the correct list of publishers. - link
    - test the connection, ensure that you are setup correctly. 
  2. Replicate Project Script(s): Crx/DE Package Manager, Replicate your scripts content package (typically in ui.apps if you follow the AEM Maven Archetype folder structures)
  3. Replicate Project Dependencies Script(s): Crx/DE Package Manager, Replicate your supporting dependencies such as ACS Commons, AEM Forms Package, AEM Service Packs, etc..
  4. Replicate Content - Option A: Replicate pages and it's References.
    - Replicate via AEM's built-in Publish Reference Feature - link
    Replicate your content via Touch UI you can multi-select pages to be activated; activating pages from Touch UI has a feature where it will also activate DAM assets, editable components, tags, and all other AEM resources that are used/linked to that page, so you will not forget to publish pages.
  5. Replicate Content - Option B: Replicate it all via Content packages. - link
    - Replicate all content; assuming that all content is for the public.
    Create a new content package in with the filters below (catches most of the content related filters a basic AEM site would hold); build and replicate the package.
    <filter root="/conf/my-site"></filter>
    <filter root="/content/cq:tags/my-site"></filter>
    <filter root="/content/dam/my-site"></filter>
    <filter root="/content/experience-fragments/my-site"></filter>
    <filter root="/content/my-site"></filter>
  6. Replicate Content - Option C: Replicate it all via Tree Activation - link
    http://localhost:4502/libs/replication/treeactivation.htm
    - Replicate all content; assuming that all content is for the public. 
    "/conf/my-site"
    "/content/cq:tags/my-site"
    "/content/dam/my-site"
    "/content/experience-fragments/my-site"
    "/content/my-site"

 Good Luck!

 

 

Answers (6)

Answers (6)

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

09-06-2020

Another option is to create a package of your site with all dependencies and replicate the package itself from the Package Manager

Avatar

Avatar
Give Back
Employee
nidhip010816
Employee

Likes

29 likes

Total Posts

27 posts

Correct reply

15 solutions
Top badges earned
Give Back
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Give Back
Employee
nidhip010816
Employee

Likes

29 likes

Total Posts

27 posts

Correct reply

15 solutions
Top badges earned
Give Back
Boost 5
Boost 3
Boost 25
Boost 10
View profile
nidhip010816
Employee

11-06-2020

Hello @key-key 

 

Tree Activation could be used for the use case you have - 

https://www.cqtutorial.com/courses/cq-admin/cq-admin-lessons/configure-cq-replication/cq-activate-tr...

Note - Now tree activation is done from <host:prt>/libs/replication/treeactivation.html

 

But since you need to publish the whole site, you may want to do via Package method. Just create a package of your site and install it over destination instance.

 

Hope this helps!

 

Best Regards,

Nidz

 

 

Avatar

Avatar
Give Back 5
Employee
sunjot16
Employee

Likes

106 likes

Total Posts

164 posts

Correct reply

50 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile

Avatar
Give Back 5
Employee
sunjot16
Employee

Likes

106 likes

Total Posts

164 posts

Correct reply

50 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile
sunjot16
Employee

11-06-2020

You can use Manage Publication or even create package of the entire site on your instance and deploy it on other environments.

 

The following doc may be helpful in publishing sites/pages:

https://docs.adobe.com/content/help/en/experience-manager-65/authoring/authoring/publishing-pages.ht...

 

The following doc may be helpful in creating packages:

https://docs.adobe.com/content/help/en/experience-manager-65/administering/contentmanagement/package...

Avatar

Avatar
Boost 5
Level 2
adobe57138
Level 2

Likes

6 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
View profile

Avatar
Boost 5
Level 2
adobe57138
Level 2

Likes

6 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
View profile
adobe57138
Level 2

09-06-2020

@key-key 

If it is just content, you can use tree activation option.

But remember the tree activation is no longer under /etc but rather under /libs

Instead the url that you should be using is - http://<HOST>:<PORT>/libs/replication/treeactivation.html

 

 

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

09-06-2020

Tree Activation is the way to do it in one go. But depends on if the author is given permission  to do so. 

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

09-06-2020

You can replicate entire content hierarchy from here-

http://localhost:4502/libs/replication/treeactivation.html