formRuntime.jsp
The formRuntime.jsp modules contains references of the client libraries. It also depicts methods to extract locale information from the request and include the localized messages in the request. You can include own customJavaScript libs or styles in the formRuntime.jsp.
config.jsp
The config.jsp module contains various configurations such as logging, proxy services, and behavior version. You can add your own configuration and widget customization to the config.jsp module. You can also add configurations such as custom widget registration to the config.jsp module.
toolbar.jsp
The toolbar.jsp contains code to create colored toolbar. To remove the toolbar, remove toolbar.jsp from the HTML.jsp
formBody.jsp
The formBody.jsp module is for the HTML representation of the XFA form.
nav_footer.jsp
At first, the HTML5 form renders only the first page of the form. When a user scrolls the form, then the rest of the forms is loaded. It makes the loading experience faster. The nav_footer.jsp component contains all the styles and required elements to facilitate loading of the pages on scroll.
footer.jsp
The footer.jsp module is an empty. It lets you add scripts that are used only for user interaction.
Creating Custom Profiles
To create a custom profile, perform the following steps:
Create Profile Node
-
Navigate to the CRX DE interface at the URL:
https://'[server]:[port]'/crx/deand log in to the interface with administrator credentials. -
In the left pane, navigate to the location /content/xfaforms/profiles.
-
Copy the node default, and paste the node in different folder (/content/profiles) with name hrform.
-
Select the new node, hrform, and add a string property: sling:resourceType with value: hrform/demo.
-
Click Save All in toolbar menu to save the changes.
Create the profile renderer script
After creating a custom profile, add render information to this profile. On receiving a request for the new profile, CRX verifies the existence of the /apps folder for the JSP page to be rendered. Create the JSP page in the /apps folder.
-
In the left pane, navigate to the
/appsfolder. -
Right-click the
/appsfolder and choose to create a folder with name hrform. -
Insider the hrform folder create a folder named demo.
-
Click the Save All button.
-
Navigate to
/libs/xfaforms/profile/html.jspand copy the node html.jsp. -
Paste html.jsp node into the
/apps/hrform/demofolder created above with same name html.jsp and click Save. -
If you have any other components of profile script, follow step 1-6 to copy the components in /apps/hrform/demo folder.
-
To verify that th profile is created, open URL
https://'[server]:[port]'/content/xfaforms/profiles/hrform.html
To verify your forms, Import your forms from your local file system to AEM Forms and preview the form on AEM server author instance.
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe Experience Manager Roadmap Webinar, Part 2 (Forms, Cloud & Managed Services) - Americas & EMEA
Preview the AEM Forms, Cloud, and Managed Services roadmap. Ask the team live.
Adobe Experience Manager Roadmap Webinar, Part 2 (Forms, Cloud & Managed Services) - Americas & APAC
Preview the AEM Forms, Cloud, and Managed Services roadmap. Ask the team live.