Expand my Community achievements bar.

SOLVED

Imported Packages error after Adding the AEM forms core components

Avatar

Level 3

Followed this link to enable the form core components:
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/forms/setup-configu...

After getting the issue  and the page don't have adaptive forms component

 

krist_wang_0-1695289872189.png

krist_wang_1-1695290039496.png

Best regards!

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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>

View solution in original post

5 Replies

Avatar

Community Advisor

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.

Avatar

Employee Advisor

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

Avatar

Community Advisor

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:

EstebanBustamante_0-1695670264912.png

 

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/get-started/using.h... 

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



Esteban Bustamante

Avatar

Correct answer by
Community Advisor

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>