Preflight
Preflight is a mode in the tools panel that automatically uses the Governance Agent to check your document for common issues before you preview or publish.
What Preflight checks
Preflight helps you maintain consistency in your content that is aligned with your branding guidelines. It uses the Governance Agent to run checks to safeguard brand integrity and compliance across Adobe Experience Manager by enforcing your security, regulatory, and brand policies.
Using Preflight
- Open any document in Experience Workspace.
- Show the tools panel if it is not already showing.
- Click the mode toggle in the tools panel.
- Click Preflight in the drop-down.
Tests are grouped by status:
- Passed
- Failed
- Not applicable
Failed tests are automatically expanded. Click View Suggestions for tips on how to correct.
Correct any items that require attention and re-run the preflight checks to assure your content is on-brand.
Require Preflight before publishing
To require a passing Preflight check before publishing a document, add this setting to the first tab of your organization or site configuration:
| key | value |
| editor.enforcePreflight | true |
When enabled, clicking Publish runs Preflight if the document has not passed its checks. Publishing continues automatically when the checks pass. If they fail, correct the issues and click Publish again. Editing the document requires a new check.
This setting is off by default and does not affect Preview or bulk publishing.
Extensibility
You can provide your own custom version of Preflight by supplying a plugin with the same title in your prepare config. You would simply point to your own preflight MFE implementation.