Skip to content

[EDM] Template - Master Layout Preview Hide Blank Columns #5870

@ThuF

Description

@ThuF

Goal

Improve the usability and readability of EDM Master Layout previews by removing empty or blank columns, ensuring only meaningful data is displayed to users.

Scope

  • In scope:
    • Hide empty or null fields in the Master Layout preview generated by EDM Templates.
    • Ensure only fields with values are rendered in the preview (e.g. concatenated display fields).

Description

Currently, the EDM Templates Master Layout preview displays all configured fields, even when they are empty or null. This leads to UI outputs such as:

| | Acme Corp. | ...

Instead of a cleaner and more meaningful representation:

Acme Corp. | ...

This negatively impacts user experience by:

  • Displaying unnecessary separators and empty placeholders.
  • Making it harder to quickly identify relevant information.

The expected behavior is to dynamically skip empty/blank values when rendering the Master Layout preview, ensuring that only meaningful, non-empty values are shown.

Acceptance Criteria

  • Empty or null fields are not rendered in the Master Layout preview.
  • Separators (e.g. |) are only shown between non-empty values.
  • Preview output dynamically adjusts based on available data (e.g. "Acme Corp. | USA" instead of " | Acme Corp. | USA").

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions