Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to add custom code to AEM

Avatar

Level 2

I would like to add custom code for some feature such as SSO, Invalidate CDN, and Audit Trail to AEM. Any suggestion? 

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi @fang_29 ,

 

Adobe Experience Manager (AEM) is a comprehensive content management platform that allows you to build and manage a wide range of digital experiences. It provides a range of tools and features to help you create and deliver engaging content to your audience, and you can extend its capabilities by adding custom code for specific features or functionality.

To add custom code to AEM, you can use one of the following approaches:

  1. Use AEM's built-in scripting languages (such as JavaScript or Groovy) to write custom code that can be executed within the AEM environment.

  2. Use AEM's Java Content Repository (JCR) to store and retrieve custom Java code that can be executed within the AEM environment.

  3. Use AEM's OSGi framework to develop and deploy custom plugins or bundles that can add new functionality to AEM.

  4. Use AEM's Dispatcher module to add custom Apache HTTP Server modules or other server-side code that can be executed on the web server.

Each of these approaches has its own set of benefits and limitations, and the best approach for your specific needs will depend on your requirements and the resources available to you. For more information, I recommend reviewing the AEM documentation and consulting with an AEM developer or system administrator.

 

SSO Reference : https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/single-sign-on.h...

 

Mentainence/Audit Log: https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/operations-au... 

 

Invalidate cache :

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/page-invalid... 

 

Thanks,

Ravi Joshi

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

Hi @fang_29 ,

 

Adobe Experience Manager (AEM) is a comprehensive content management platform that allows you to build and manage a wide range of digital experiences. It provides a range of tools and features to help you create and deliver engaging content to your audience, and you can extend its capabilities by adding custom code for specific features or functionality.

To add custom code to AEM, you can use one of the following approaches:

  1. Use AEM's built-in scripting languages (such as JavaScript or Groovy) to write custom code that can be executed within the AEM environment.

  2. Use AEM's Java Content Repository (JCR) to store and retrieve custom Java code that can be executed within the AEM environment.

  3. Use AEM's OSGi framework to develop and deploy custom plugins or bundles that can add new functionality to AEM.

  4. Use AEM's Dispatcher module to add custom Apache HTTP Server modules or other server-side code that can be executed on the web server.

Each of these approaches has its own set of benefits and limitations, and the best approach for your specific needs will depend on your requirements and the resources available to you. For more information, I recommend reviewing the AEM documentation and consulting with an AEM developer or system administrator.

 

SSO Reference : https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/single-sign-on.h...

 

Mentainence/Audit Log: https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/operations-au... 

 

Invalidate cache :

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/page-invalid... 

 

Thanks,

Ravi Joshi