Your project's description...
- Preview: https://main--aem-boilerplate-forms--adobe-rnd.aem.page/
- Live: https://main--aem-boilerplate-forms--adobe-rnd.aem.live/
Before using the aem-boilerplate, we recommand you to go through the documentation on www.aem.live and experienceleague.adobe.com, more specifically:
Furthremore, we encourage you to watch the recordings of any of our previous presentations or sessions:
- nodejs 18.3.x or newer
- AEM Cloud Service release 2024.8 or newer (>=
17465)
npm inpm run lint- Create a new repository based on the
aem-boilerplatetemplate and add a mountpoint in thefstab.yaml - Add the AEM Code Sync GitHub App to the repository
- Install the AEM CLI:
npm install -g @adobe/aem-cli - Start AEM Proxy:
aem up(opens your browser athttp://localhost:3000) - Open the
{repo}directory in your favorite IDE and start coding :)
Create custom form components using the interactive scaffolder:
npm run create:custom-componentThis will guide you through creating a new custom component with:
- Interactive prompts for component name and base type
- Automatic file generation (JS, CSS, JSON)
- Automatic integration in form block with mappings
The AEM Forms runtime core libraries (@aemforms/af-core and @aemforms/af-formatters) power the form rendering and validation logic. These libraries are bundled into the project using Rollup to optimize performance and ensure compatibility.
-
Find the Latest Version
- Navigate to the af2-web-runtime repository
- Check the commit history or releases for the latest versions of:
@aemforms/af-core@aemforms/af-formatters
- Note: Both packages should typically be updated to the same version number
-
Update Package Dependencies
- Manually edit
package.jsonin thedevDependenciessection - Update both packages to the same version:
"@aemforms/af-core": "x.xx.xxx", "@aemforms/af-formatters": "x.xx.xxx"
- Manually edit
-
Install Dependencies
npm install
This will download the new versions from the npm registry.
-
Bundle the Runtime
npm run update
This command runs Rollup to bundle the updated libraries into
blocks/form/rules/model/. -
Verify the Update
- Check that files in
blocks/form/rules/model/have been updated
- Check that files in