Expand my Community achievements bar.

SOLVED

Adding Lottie Files easy in AEM

Avatar

Level 1

Hi! 

 

Is there some easy and good way to adding lottie files in Adobe Experience Manager? 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @albintribelounge 

 

Lottie files are nothing but the JSON files which will be loaded in your JS code. So create a separate folder called lottie in the same location where you have resources and then load the JSON file into it. Now refer these files in the JS as needed. Please see the screenshot below with the file system.

 

asutosh_jena_0-1632909388502.png

 

 

Thanks!

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @albintribelounge ,

            There are 2 ways you can add.

1.directly add file in the asset and give the reference wherever you required.

2.Create the common ClientLibs and inside that create folder source and add your files inside source.

 

 

Avatar

Correct answer by
Community Advisor

Hi @albintribelounge 

 

Lottie files are nothing but the JSON files which will be loaded in your JS code. So create a separate folder called lottie in the same location where you have resources and then load the JSON file into it. Now refer these files in the JS as needed. Please see the screenshot below with the file system.

 

asutosh_jena_0-1632909388502.png

 

 

Thanks!