Start a conversation

Resolving Missing Headers and Footers in DocConfig Templates

Overview

The issue of missing headers and footers in generated documents was reported for a specific DocConfig template. The problem was traced to section breaks coded with a ConfigType of "Paragraph," causing each section to have its own header and footer. The issue was resolved by removing section breaks and adjusting spacing. This problem typically occurs when section breaks are improperly configured, affecting document layout.

Information

Issue: Headers and footers not displaying in generated documents for a specific DocConfig template.

Resolution Steps:

  1. Identify the Affected DocConfig:
    • Navigate to the DocConfig page in your instance.
    • Locate the specific DocConfig experiencing issues.
  2. Review Section Breaks:
    • Open the document template associated with the DocConfig.
    • Check for section breaks coded with a ConfigType of "Paragraph."
  3. Remove Section Breaks:
    • Delete all section breaks within the document.
    • Ensure that the document structure is maintained without section breaks.
  4. Adjust Spacing:
    • Set the "Before Spacing" on the first line of each table to maintain document layout.
    • Save the changes to the document template.
  5. Test Document Generation:
    • Generate the document.
    • Verify that headers and footers are now displaying correctly.

Additional Information:

The "conditional section" option can be used to hide parts of a document based on conditions. It requires wrapping merge fields with CONDITIONAL_SECTION and a section break.

Note: If issues persist, ensure that all section breaks are removed and spacing is correctly adjusted.

Frequently Asked Questions

How do I know if this issue applies to my DocConfig?
If headers and footers are missing in generated documents but present in the template, and section breaks are used, this issue may apply.
What should I do if removing section breaks doesn't resolve the issue?
Ensure that all section breaks are removed and that spacing is adjusted correctly. If the issue persists, contact support for further assistance.
How can I use the "conditional section" option in my template?
The "conditional section" option allows hiding parts of a document based on conditions. It requires wrapping merge fields with CONDITIONAL_SECTION and a section break. Refer to the user guide or video resources for detailed instructions.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments