Install Eclipse
Install the latest version of eclipse
Create your first project
Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The name fits as we are trying to provide a system that provides a consistent means of generating Maven projects. Archetype helps authors create Maven project templates for users, and provides users with the means to generate parameterized versions of those project templates.
To create your first maven project, please follow the following steps:
- Create a new folder called
aemformsbundles
in your C drive - Open a command prompt and navigate to
c:\aemformsbundles
- Run the following command in your command prompt
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=36 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D aemVersion=6.5.13
On successful completion you should see a build success message in your command window
Create eclipse project from your maven project
- Change your working directory to
mysite
- Execute
mvn eclipse:eclipse
from the command line. The command reads your pom file and creates Eclipse projects with correct metadata so that Eclipse understands project types, relationships, classpath, etc.
Import the project into eclipse
Launch Eclipse
Go to File -> Import and select Existing Maven Projects as shown here
Click Next
Select the c:\aemformsbundles\mysite by clicking the Browse button
Click Finish to start the import process
Project is imported into Eclipse and you see a number of mysite.xxxx
folders
Expand the src/main/java
under the mysite.core
folder. This is the folder in which you are writing most of your code.
Include AEMFD Client SDK
You need to include the AEMFD client sdk in your project to take advantage of various services that come with AEM Forms. Please refer AEMFD Client SDK to include the appropriate client SDK in your Maven project. You have to include the AEM FD Client SDK in the dependencies section of pom.xml
of the core project as shown below.
<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>6.0.122</version>
</dependency>
To build your project, please follow the following steps:
- Open command prompt window
- Navigate to
c:\aemformsbundles\mysite\core
- Execute the command
mvn clean install -PautoInstallBundle
The above command builds and installs the bundle in the AEM server running onhttp://localhost:4502
. The bundle is also available on the file system atC:\AEMFormsBundles\mysite\core\target
and can be deployed using Felix web console
Next Steps
Experience Manager
- Overview
- Best practices to follow
- Setting up OKTA authentication with AEM Author
- Creating your first Adaptive Form
- Handling Form Submissions
- Useful Integrations
- Creating OSGi bundle
- Adaptive Forms
- Fill a PDF form with ChatBot
- Core- Components based forms
- Select and assemble DAM folder content
- Prefilling adaptive form using form data model
- UI Tips and Tricks
- Customizing inbox
- Email form attachments
- Prefilling form with data and attachments
- Storing and Retrieving Adaptive Form
- Import data from pdf file
- Exporting Submitted Data in CSV Format
- HTML5 Forms
- AEM Forms and Acrobat Sign
- Sign Multiple Forms
- Custom workflow steps
- Custom workflow component
- Variables in AEM Workflow
- Review form data
- Storing and Retrieving Form Data in MySQL DB
- Triggering AEM Workflow on PDF Form submission
- Trigger AEM workflow on Mobile Form Submission
- Querying Form Submissions
- Listing Custom Asset Types in Forms Portal
- AEM Forms With Marketo
- AEM Forms with Adobe Campaign Standard
- Welcome Kit
- Headless Forms API
- React App with Forms and Acrobat Sign
- Document Services
- Forms Designer
- AEM Forms Workbench
- Interactive Communications for Print Channel
- Save and Retrieve Draft Letters
- Interactive Communications
- Interactive Communications For Web Channel
- Troubleshooting