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.
Mahedi_Sabuj
Mahedi_SabujAccepted solution
New Participant
Sep 25, 2023 8:24 PM UTC

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

5 replies

Mahedi_Sabuj
Mahedi_SabujAccepted solution
New Participant
Sep 25, 2023 8:24 PM UTC

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>
Translate
Mahedi Sabuj
Level 2
Sep 26, 2023 8:23 AM UTC

Thanks, it works for me!

Translate
EstebanBustamante
New Participant
Sep 25, 2023 7:31 PM UTC

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 

Translate
Esteban Bustamante
Pulkit_Jain_
Employee
Sep 25, 2023 4:46 AM UTC

@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.

Translate
Vijay_Katoch
New Participant
Sep 21, 2023 10:16 AM UTC

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.

Translate