Highlighted

How to export page with design and DAM assets

Avatar

Avatar

Pravin_ch

Avatar

Pravin_ch

Pravin_ch

22-06-2018

Hi All,

I am trying to export a page in my application and i am able to export the page by adding export.zip extention instead of html.

But when i unzip and open the page,  js and css are not applying  and it's not exporting the DAM assets. 

How to configure the contentsync template to export assets and apply css and js.

I am using AEM 6.3 version.

Any thoughts here would be helpful.

Replies

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

25-06-2018

Hi,

I would recommend to check The Page Exporter 

if helps.

Thanks

Arun

Highlighted

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

25-06-2018

An alternative option to create a static version of a page/site is to use Static replication agent: Replication

Highlighted

Avatar

Avatar

Pravin_ch

Avatar

Pravin_ch

Pravin_ch

29-06-2018

@berliant, thanks for your reply.

I followed the article and configured the static replicatiuon agent. But It's not working.

Getting following error when i replicate any article : com.day.cq.replication.ReplicationException: Unable to replicate content with no transport handler. Check configuration.

How to configure transport handler for static replication agent in AEM 6.3

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

29-06-2018

Did you follow the Page Experter - The Page Exporter - as suggested by @arunp99088702arunp99088702

Highlighted

Avatar

Avatar

Pravin_ch

Avatar

Pravin_ch

Pravin_ch

02-07-2018

smacdonald2008 Yes, I tried with page exporter, but DAM assets are not exporting with that zip file. How to configure the page exporter to export dam assets.

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

03-07-2018

Hi,

If you go through the link, you can see if you need to export image(custom type) then you need to implement custom type. but for renditions you can add below node at /etc/contentsync/templates/  or /etc/contentsync/templates/<sitename>.

assets

Collect original renditions of assets.

  • path - Path to an asset folder below /content/dam.

Implementing a Custom Configuration

As you may have noticed in the node structure, the Geometrixx page export configuration template has a logo node with a type property set to image. This is a special configuration type that has been created to copy the image logo to the zip file. To meet some specific requirements, you may need to implement a custom type property: to do so, refer to the Implementing a custom update handler section in the Content Sync page.

image

Collect an image.

  • path - Path to an image resource.

The image type is used to include the We Retail logo in the zip file.

More info -

Implementing a custom update handler(Mobile with Content Sync)

Highlighted

Avatar

Avatar

a_mn1

Avatar

a_mn1

a_mn1

25-04-2019

Hello Pravin, any luck on this.