Request for Guidance on Updating Core Component Version | Community
Skip to main content
Level 3
February 1, 2024
Solved

Request for Guidance on Updating Core Component Version

  • February 1, 2024
  • 4 replies
  • 1471 views

I have a scenario that involves updating a core component version and I am in need of guidance on the necessary steps. Additionally, I am interested in obtaining any available documentation to assist in this process.

As of now, I am using version AEM6.5 SP15, and the current core component version is 2.19.0.

Thanks,
Sai

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by TarunKumar

Hi @sai1278 ,

The current release of the Core Components is 2.23.4 and is compatible with AEM as cloud service and AEM on-premise.
Below are the steps that you need to take care for upgrading core components:

1. Check the compatible core version with your AEM.
  Follow this for compatibility check: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/versions.html?lang=en

2. Upgrade your dependency in project pom file:

<dependency> <groupId>com.adobe.cq</groupId> <artifactId>core.wcm.components.core</artifactId> <version>2.23.4</version> </dependency>


3. Try to validate few components in your local first by opening browser dev tool console to see if you are getting any JS error.



Thanks
Tarun

4 replies

Kamal_Kishor
Community Advisor
Community Advisor
February 1, 2024

@sai1278 : You will have to update the version in your POM file. Please lookout for "core.wcm.components" and see what is the current version and you can find the latest version from maven artifacts at https://mvnrepository.com/ 

You can also refer similar questions asked : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/best-way-to-update-core-components/m-p/640761

thanks.

TarunKumar
Community Advisor
TarunKumarCommunity AdvisorAccepted solution
Community Advisor
February 1, 2024

Hi @sai1278 ,

The current release of the Core Components is 2.23.4 and is compatible with AEM as cloud service and AEM on-premise.
Below are the steps that you need to take care for upgrading core components:

1. Check the compatible core version with your AEM.
  Follow this for compatibility check: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/versions.html?lang=en

2. Upgrade your dependency in project pom file:

<dependency> <groupId>com.adobe.cq</groupId> <artifactId>core.wcm.components.core</artifactId> <version>2.23.4</version> </dependency>


3. Try to validate few components in your local first by opening browser dev tool console to see if you are getting any JS error.



Thanks
Tarun

kautuk_sahni
Community Manager
Community Manager
February 2, 2024

@sai1278 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
aanchal-sikka
Community Advisor
Community Advisor
February 2, 2024

Hello @sai1278 

 

Please refer to the compatibility matrix on https://experienceleague.adobe.com/docs/experience-manager-core-components/using/versions.html?lang=en

With SP 15 you can max update to 2.22.12 of core components.

 

  • Please consider updating SP and components both
  • If you can't update SP, then following steps might be helpful:
    • Update dependencies in pom
    • Assure AEM also has the updated version.
    • Compare the sling:resourceSuperType of all components in your project.
    • Assure you the using the latest version of the parent component
      • In case a new version is available:
        • Compare the feature differences between 2 versions on the official documentation of the component.
        • Compare HTL, dialogs etc between 2 versions.
        • Validate all the new and app-specific features on the updated component

 

Aanchal Sikka
Sai1278Author
Level 3
February 2, 2024

Hi @aanchal-sikka 
Thanks for the response. As per your guidance, which version should I consider for taking the next steps to update the core component version on SP15, and what steps need to be followed for that?

aanchal-sikka
Community Advisor
Community Advisor
February 6, 2024

Hello @sai1278 

 

I had added the details in previous reply. Please use 2.22.12, if you can't update SP.

 

Steps: 

  • Update dependencies in pom
  • Assure AEM also has the updated version.
  • Compare the sling:resourceSuperType of all components in your project.
  • Assure you the using the latest version of the parent component
    • In case a new version is available:
      • Compare the feature differences between 2 versions on the official documentation of the component.
      • Compare HTL, dialogs etc between 2 versions.
      • Validate all the new and app-specific features on the updated component

Please let us know, if you facing challenge in any specific step

Aanchal Sikka