Disable protected mode
The protected mode is on, by default. Keep it enabled for the production environments. You can disable it for a development environment to preview HTML5 Forms in desinger. Perform the following steps to disable it:
-
Log in to AEM Web Console as an administrator.
- URL for AEM Forms on OSGi is
https://[server]:[port]/system/console/configMgr
- URL for AEM Forms on JEE is
https://[server]:[port]/lc/system/console/configMgr
- URL for AEM Forms on OSGi is
-
Open Mobile Forms Configurations for editing.
-
Deselect the Protected Mode option and click Save.
Provide details of AEM Forms server
-
In Designer, go to Tools > Options.
-
In the Options window, select Server Options page, provide the following details, and click OK.
-
Server URL: AEM Forms server URL.
-
HTTP port number: AEM server port. The default value is 4502.
-
HTML Preview Context: Path of the profile for rendering XFA forms. The following default profiles are used to preview the form in Designer. However, you can also specify path to a custom profile.
/content/xfaforms/profiles/default.html
(AEM Forms on OSGi)/lc/content/xfaforms/profiles/default.html
(AEM Forms on JEE)
-
Forms Manager Context: Context path at which Forms Manager UI is deployed. The default values are:
/aem/forms
(AEM Forms on OSGi)/lc/forms
(AEM Forms on JEE)
Note: Ensure that AEM Forms server is up and running. The HTML preview connects to the CRX server to generate a preview.
AEM Forms Designer options
-
-
To preview a form in HTML, click the Preview HTML tab.
NOTE
If HTML Preview tab is closed, Press F4 to open the Preview HTML tab. You can also select Preview HTML from View menu to open the Preview HTML tab.NOTE
The HTML preview does not support PDF documents, the HTML preview is only for XDP documents.