AEM forms let you create, publish, and unpublish forms easily. For more information about AEM forms, see Introduction to managing forms.
The AEM forms server provides two instances: Author and Publish. Author instance is for creating and managing form assets and resources. Publish instance is for keeping assets and related resources that are available for end users.
AEM forms support the following types of assets:
- Adaptive forms
- Adaptive documents
- Form templates (XFA forms)
- PDF forms
- Document (Flat PDF documents)
- Resource (Images)
Initially, all the assets are available only in the Author instance. An administrator or form author can publish all the assets except resources.
XFA forms and Adaptive forms can use other XFA forms and resources. When you publish an asset, related assets and resources are also published. However, dependent assets are not published.
Related assets and resources are assets that a published asset reference. Dependent assets are assets that refer to a published asset.
An asset can have the following states:
- Unpublished: An asset that has never been published
- Published: An asset that has been published and is available on the Publish instance
- Modified: An asset that is modified after being published
If you delete an asset from the Author instance, the asset is deleted even from the Publish instance.
Follow one of these steps to select as asset:
- If you are in the card view, click Enter Selection , and click the asset. The asset is selected.
- If you are in the list view, select the checkbox of an asset. The asset is selected.
Do not select multiple assets. Publishing multiple assets at once is not supported.
In the dialog box that contains related assets, click Publish. The asset is published and a success dialog appears.
For the Adaptive forms, along with the related assets, the Adaptive Form page name is also displayed.
If the user does not have permission to publish the listed assets, the Publish action is disabled. An asset that requires extra permissions is shown in red.
After an asset is published, metadata properties of the asset are copied to the Publish instance and the status of the asset is changed to Published.
After publishing an asset, you can use the Forms Portal to display all the assets on a web page. For more information, see Introduction to publishing forms on a portal.
AEM forms let you schedule asset publishing and unpublishing. You can specify the schedule in the Metadata Editor. For more information about managing form metadata, see Managing form metadata.
Follow these steps to schedule the date and time of publishing and unpublishing assets:
You can enable authentication for forms you want selected users to access. When you enable authentication for your forms, users see a login screen before accessing them. Only users with credentials that are authorized can access the forms.
To enable authentication for your forms:
- In your browser, open configMgr in the publish instance.
- In the Adobe Experience Manager Web Console Configuration, click Apache Sling Authentication Service to configure it.
- In the Apache Sling Authentication Service dialog that appears, use the + button to add paths.
When you add a path, the authentication service is enabled for forms in that path.