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
BedrockMission!

Learn More

View all

Sign in to view all badges

Where can I find 'FormsHelper API' as described in 'AEM 6.0 Forms Help / Writing custom Submit action for adaptive forms'

Avatar

Avatar
Validate 1
Level 2
urs_h_
Level 2

Likes

5 likes

Total Posts

42 posts

Correct Reply

6 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 5
View profile

Avatar
Validate 1
Level 2
urs_h_
Level 2

Likes

5 likes

Total Posts

42 posts

Correct Reply

6 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 5
View profile
urs_h_
Level 2

03-02-2016

Hi 

1) https://helpx.adobe.com/aem-forms/6/custom-submit-action-form.html refers to the 'FormsHelper API'. 

2) A google search on 'FormsHelper' reveals https://docs.adobe.com/content/docs/en/cq/5-6-1/javadoc/com/day/cq/wcm/foundation/forms/FormsHelper....

3) Searching FormsHelper's package 'com.day.cq.wcm.foundation.form' on http://localhost:4502/system/console/depfinder I've found following dependency:
 

<dependency> <groupId>com.day.cq.wcm</groupId> <artifactId>cq-wcm-foundation</artifactId> <version>5.8.52</version> <scope>provided</scope> </dependency>

4) But on https://repo.adobe.com/nexus/content/repositories/public/com/day/cq/wcm/cq-wcm-foundation/ the latest available maven package is 5.6.4.

So my question is how can I use 'FormsHelper API'?

Thank you,

Urs

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
urs_h_
Level 2

Likes

5 likes

Total Posts

42 posts

Correct Reply

6 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 5
View profile

Avatar
Validate 1
Level 2
urs_h_
Level 2

Likes

5 likes

Total Posts

42 posts

Correct Reply

6 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 5
View profile
urs_h_
Level 2

03-02-2016

I've found the dependencies I need to add to the pom.xml so that FormsHelper class is available:

         <dependency> <groupId>com.adobe.granite</groupId> <artifactId>com.adobe.granite.xssprotection</artifactId> <version>5.5.62</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.day.cq.wcm</groupId> <artifactId>cq-wcm-foundation</artifactId> <version>5.8.52</version> <scope>provided</scope> </dependency>

Answers (0)