Expand my Community achievements bar.

SOLVED

Can static agent extract content to URL pattern need and not as per JCR node structure?

Avatar

Level 4

Hi All

Can we have rules mentioned to static agent so that it will extract the content onto disk as per the URL required and not as maintained within aem?

For example, I've content in aem as http://test-aem-instance:4502/content/en_us/introduction.html. While static agent does extraction it will extract to location /Users/me/staticpub/content/en_us/introduction.html,instead of this can we have rules so that static agent extracts content as /Users/me/staticpub/content/us/introduction.html 

Basically we are changing the folder structure to which it got extracted to. 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Here are the Replication Configuration docs: 

https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/replication.html

If the out of the box replication agents do not meet your requirements then write a custom one using this API: 

https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/replication/package-summary.ht...

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Here are the Replication Configuration docs: 

https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/replication.html

If the out of the box replication agents do not meet your requirements then write a custom one using this API: 

https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/replication/package-summary.ht...