Imported Packages error after Adding the AEM forms core components | Community
Skip to main content
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 Mahedi_Sabuj

I've included the Forms Core Components in one of our AEM 6.5 projects. For detailed changes and procedures, you can refer to this GitHub commit: https://github.com/MahediSabuj/aem-react-spa/commit/b302dd8cd87c48b5b93509c050099a7a3dbf02f4 

If you're using AEMaaCS, you should replace "aemfd-client-sdk" with "aem-forms-sdk-api".

<!-- AEM Cloud --> <core.forms.components.version>2.0.36</core.forms.components.version> <core.forms.components.af.version>2.0.36</core.forms.components.af.version> <aem.forms.sdk.api>2023.08.03.00-230702</aem.forms.sdk.api> <dependency> <groupId>com.adobe.aem</groupId> <artifactId>aem-forms-sdk-api</artifactId> <version>${aem.forms.sdk.api}</version> </dependency> <!-- AEM 6.5 --> <core.forms.components.version>1.1.24</core.forms.components.version> <core.forms.components.af.version>1.1.24</core.forms.components.af.version> <aem.forms.sdk.api>6.0.1016</aem.forms.sdk.api> <dependency> <groupId>com.adobe.aemfd</groupId> <artifactId>aemfd-client-sdk</artifactId> <version>${aem.forms.sdk.api}</version> </dependency>

4 replies

Vijay_Katoch
Community Advisor
Community Advisor
September 21, 2023

Can you please check if you are missing the mentioned bundle in your AEM instance or using the old version incompatible with the code? Please verify the bundle and update the version or code accordingly as per your environment.

Pulkit_Jain_
Adobe Employee
Adobe Employee
September 25, 2023

@krist_wang 

The bundle count seems pretty low, and the missing dependencies (from the screenshot) are provided by the Adaptive Forms Core API bundle (com.adobe.aemds.guide.aemds-guide-core).

This bundle dependency is supplied by the Forms archive (aem-forms-sdk-cloud-ready_xxxx) for cloud so check if the local cloud dev instance has FAR installed.

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
September 25, 2023

You are following the guide for AEMaaCS, where all the dependencies are there by default, but if you are using AEM on-premise (which is your case) you need to make sure you have the system requirements specified in the official documentation, please use the below links to know more about it:

 

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/get-started/using.html?lang=en#download-and-install 

 https://experienceleague.adobe.com/docs/experience-manager-core-components/using/introduction.html?lang=en 

Esteban Bustamante
Mahedi_Sabuj
Community Advisor
Mahedi_SabujCommunity AdvisorAccepted solution
Community Advisor
September 25, 2023

I've included the Forms Core Components in one of our AEM 6.5 projects. For detailed changes and procedures, you can refer to this GitHub commit: https://github.com/MahediSabuj/aem-react-spa/commit/b302dd8cd87c48b5b93509c050099a7a3dbf02f4 

If you're using AEMaaCS, you should replace "aemfd-client-sdk" with "aem-forms-sdk-api".

<!-- AEM Cloud --> <core.forms.components.version>2.0.36</core.forms.components.version> <core.forms.components.af.version>2.0.36</core.forms.components.af.version> <aem.forms.sdk.api>2023.08.03.00-230702</aem.forms.sdk.api> <dependency> <groupId>com.adobe.aem</groupId> <artifactId>aem-forms-sdk-api</artifactId> <version>${aem.forms.sdk.api}</version> </dependency> <!-- AEM 6.5 --> <core.forms.components.version>1.1.24</core.forms.components.version> <core.forms.components.af.version>1.1.24</core.forms.components.af.version> <aem.forms.sdk.api>6.0.1016</aem.forms.sdk.api> <dependency> <groupId>com.adobe.aemfd</groupId> <artifactId>aemfd-client-sdk</artifactId> <version>${aem.forms.sdk.api}</version> </dependency>
Mahedi Sabuj
Level 2
September 26, 2023

Thanks, it works for me!