Deleting forms and related resources
You can delete the forms and assets to remove these assets from the repository. Delete operation works on all asset types and folders.
If you delete an asset from the Author instance, the asset is also deleted from the Publish instance. AEM Forms server consists of Author and Publish instances. The Author instance is for creating and managing forms assets and resources. The Publish instance contains the published forms assets and related resources that are available for end users.
How to delete a form
- Log in to the AEM Forms user interface, by accessing https://[hostname]:'port'/aem/forms.html.
- Navigate to and select the form you want to delete. Click Delete from the toolbar and confirm the delete operation.Only one form can be deleted at a time. Delete multiple forms either individually or delete the parent folder.
- Before you delete an asset, AEM Forms checks for references and requests an explicit confirmation. Click Force Delete if you want to delete the asset irrespective of the relationship status.Deleting an asset that is referred by other assets can cause functional issues.If the selected asset is a folder and it contains such an asset in its hierarchy, delete other assets either individually or delete the entire folder.
Impact of deleting a referenced XFA form
In AEM Forms, an XFA form template can be referred by an adaptive form or another XFA form template. Also, a template can refer to a resource or another XFA template.
It is not advisable to delete an XFA form that is being referred by an adaptive form, as it can corrupt the adaptive form. When an adaptive form refers to an XFA form, their fields are bound. After XFA deletion, the adaptive form cannot synchronize its fields with the XFA fields and displays an error message for such fields. To know more about the impact of referenced XFA deletion and about dirty AFs, see Updating referenced XFA forms .
To delete such an XFA form, update the adaptive form and remove the bindings with the XFA fields.