Prerequisites
AEM Forms app requires an AEM Forms server. Users can render forms you create in the AEM Forms
server, fill them, save as drafts, and submit them. The app connects to the server and fetches enabled forms from it. AEM Forms app syncs with the server and as soon as forms are loaded in the app, users can work offline. If the app is offline, data is saved on the device, and the data is synced with the server when the app is online.
AEM Forms app with servers using AEM Forms Workflow
If you have an AEM Forms Workflow server, you can render forms as tasks in AEM Forms app. For example, you run a banking firm, and customer fills an application to use your services. The application is an adaptive form that accepts information from your customers, and stores it as a submission for review. The administrator reviews an application and forwards a verification request to the field worker. The forwarded application enables a verification form in your field worker’s app as a task. Your field worker carries the mobile device to your customer and verifies the details.
AEM Forms app with servers using Forms-centric workflow on OSGi
If you have an AEM Forms server, you can render adaptive forms as AEM Inbox application, and tasks in AEM Forms app. For example, you run a banking firm, and customer fills an application to use your services. The application is associated with an adaptive form that accepts information from your customers, and stores it as a submission for review. The administrator reviews the task and approves the verification request to the field worker. Your field worker carries the mobile device to your customer and verifies the details.
Standalone forms or AEM Forms app with servers without AEM Forms Workflow
An AEM Forms server not using AEM Forms Workflow is AEM Forms on OSGi or a standalone mobile form or adaptive form. AEM Forms app works with your AEM Forms implementation on OSGi. Forms you enable and publish for AEM Forms app are available in your app.
The forms are downloaded on your app, and are available offline. For example, you are running a banking firm, and a customer fills an application on your site. The application is an adaptive form that accepts information from your customers, and stores it for review. The administrator reviews the form, and creates a verification form in AEM author instance. The admin enables syncing of the form with AEM Forms app, and publishes it. If the verification form is available in AEM Forms app, your field agent can use a mobile device to verify your customer’s details. The mobile device syncs with the server, and the verification form is loaded in the app. Your field agent can visit your customer, verify the details, save data as draft, or submit the verification form. The form is synced with the server whenever the app is online.
To sync your form in AEM Forms app:
-
In author instance, select a form, and click View Properties.
-
In the properties page, click Advanced.
-
Under Advanced, enable option: Sync with AEM Forms App and select Save.
When the form is published, the app syncs with the server and fetches the form. To sync multiple forms, in the author instance, select multiple forms in forms manager and select Sync with AEM Forms App.
Mobile device support
See AEM Forms app (previously known as Mobile Workspace)
Key features of AEM Forms app
AEM Forms app with AEM Forms servers
You can synchronize your app with the AEM Forms server and can work with forms on your mobile device.
With AEM Forms Workflow server, a form can be associated with a startpoint in a workbench process and AEM Inbox application. An AEM Inbox application can have an adaptive form associated with it. A startpoint can have an adaptive form, HTML5 form, or a formset associated with it. A startpoint can be submitted as a task or the task can be saved as a draft. For more information on differences between an AEM Inbox application and a startpoint see Actions and capabilities of Form-centric AEM Workflows on OSGi and AEM Forms JEE workflows.
With AEM Forms server without AEM Forms workflow, a form enabled for syncing in the app is rendered in the AEM Forms app. Forms are available in the Forms tab of the app, can be submitted or saved as a draft. Adaptive forms and mobile forms are supported in the app.
-
Saving a task or form as a draft
The save as draft option saves a snapshot of a task or form along with the data filled and files attached in the associated form. The drafts are saved to the mobile device and synced with AEM Forms server for a later retrieval.
-
Save form as template
At times, when users fill a form, inputs to a few fields remain the same. For such instances, you can fill the fields that require identical values in every instance, and save the form or draft as a template. Now, every time you create an instance of the template, the specified fields are already filled with values specified in the template. It helps you save time and effort required to fill the form.
Working with tasks and forms
You can synchronize your app with the AEM Forms Workflow server and can work on tasks and forms on your mobile device.
A task on the mobile device contains an adaptive form, HTML5 form, or a form set and can also contain attachments and summary URL. By default, tasks assigned to you are placed in the Tasks folder. When working on a task, you can change the task and save a draft copy of task on the AEM Forms server.
A form on the mobile device can be an adaptive form or a mobile form. Forms enabled for syncing in the forms app are available in the Forms folder. You can sync forms enabled in AEM Forms server without AEM Forms workflow (AEM Forms on OSGi).
See:
Working offline
You can work on your mobile device in the offline mode. You can log in to the application even if there is no network connectivity and can work on all the forms that were synchronized with the device when you were last online. For details on how to synchronize your forms, see Synchronizing the app. If you choose to synchronize the attachments associated with a form, you can open the attachments in the offline mode as well. You can edit the form, add annotations, and submit or save a form in the offline mode. The form is synchronized with the AEM Forms server the next time you are online.
For details, see Working in the offline mode.
Adding annotations
You can add the following attachments to a form on your mobile device
-
Notes- You can use the Notes feature to add a freehand scribble or a text note in your form. For details, see Adding a note.
-
Picture- The AEM Forms app includes a feature that uses the camera functionality or the gallery of your mobile device. Using the photograph attachment, you can add a photograph with the associated form. For details, see Adding a photograph.
Autosave
When a user enters data in the AEM Forms app, the autosave feature saves it at regular intervals. The autosave feature in the AEM Forms app helps you avoid data loss if the app closes due to conditions like low battery.
See Using autosave in AEM Forms app.
Differences between AEM Inbox and AEM Forms app features
Two of the prominent ways to launch a Forms-centric workflow are using AEM Inbox and AEM Forms app. The capabilities of AEM Inbox and AEM Forms app, however, differ. AEM Inbox works only with Forms-centric workflows while the AEM Forms app works with both Forms-centric workflows and process management. For more information on differences between AEM Inbox and AEM Forms app capabilities, see Actions and capabilities of Form-centric AEM Workflows on OSGi and AEM Forms JEE workflows.