---
id: object/page/8126
type: object
title: Page 8126 "Report Filename Pattern Card"
summary: Page 8126 "Report Filename Pattern Card" in ReportFilenameManager (Microsoft.Foundation.Reporting.FileNaming). Introduced in BC30.
tier: official
language: en
tags:
  - page
  - reportfilenamemanager
versions:
  introduced: "30"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-31T00:48:20.076Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 55661a81c481194a5fb21daa2c91e17d2e1aa59e52b6c43f08fc5975c72697c0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/d2abc1d2ceae394331716c8183ef60e1534c2ce0/src/Apps/W1/ReportFilenameManager/app/src/page/ReportFilenamePatternCard.Page.al
    title: src/Apps/W1/ReportFilenameManager/app/src/page/ReportFilenamePatternCard.Page.al (main)
    date: null
    commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12610
object_type: page
object_id: 8126
name: Report Filename Pattern Card
caption: Report Filename Pattern
namespace: Microsoft.Foundation.Reporting.FileNaming
app: ReportFilenameManager
extends: null
first_version: "30"
last_version: "30"
present_in:
  - "30"
changed_in: []
source_major: "30"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
  controls: 14
  actions: 3
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 8126 "Report Filename Pattern Card"

> Page 8126 "Report Filename Pattern Card" in ReportFilenameManager (Microsoft.Foundation.Reporting.FileNaming). Introduced in BC30.

ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming · captioned "Report Filename Pattern" · BC30 · [source at d2abc1d2](https://github.com/microsoft/BCApps/blob/d2abc1d2ceae394331716c8183ef60e1534c2ce0/src/Apps/W1/ReportFilenameManager/app/src/page/ReportFilenamePatternCard.Page.al) · facts from BC30

## Properties

| Property | Value |
|---|---|
| Caption | Report Filename Pattern |
| SourceTable | Report Filename Pattern |
| PageType | Card |
| ApplicationArea | All |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | ReportName | [Report Name](../table/8125.md#fields) | Specifies the report this pattern applies to. Leave it blank to apply the pattern to every report on the same table. <small>from the table field</small> |
|  | TableCaption | [Table Caption](../table/8125.md#fields) | Specifies the table this pattern applies to - the records that one file is named after. It decides which patterns can apply and which fields are offered as placeholders. Choosing a report fills this in. Leave the report blank and choose a table to cover every report on that table. <small>from the table field</small> |
|  | Enabled | [Enabled](../table/8125.md#fields) | Specifies whether this pattern is used. <small>from the table field</small> |
| Conditions | Table Filter | `TableFilterText` | Specifies a filter the records must match for this pattern to apply, such as a reminder level. Choose the fields and values on the filter page rather than typing a filter. |
|  | Output Route Filter | `RouteFilterText` | Specifies which ways out of Business Central this pattern applies to, such as Print\|Preview. All routes when it is blank. Choose the field to select routes; each one says what produces a file on it. |
|  | Language Code | [Language Code](../table/8125.md#fields) | Specifies the language this pattern applies to. Leave it blank to apply the pattern to every language. <small>from the table field</small> |
|  | Language Code Field | `LanguageFieldName` | Specifies which field on the table holds the language of the record: a field that relates to the Language table. Where a run covers several records, they must all have the same language, or the run has none. Suggested when the table has one such field. |
| File Name | File Name Pattern | [File Name Pattern](../table/8125.md#fields) | Specifies the file name without the extension. Use placeholders in square brackets, such as Invoice-[No.]. The output format adds the extension automatically. <small>from the table field</small> |
|  | Date Format | [Date Format](../table/8125.md#fields) | Specifies how dates are written in the file name. <small>from the table field</small> |
|  | Date Example | `DateExample` | Specifies how a date is written in the file name with the chosen format. It is the same for every user and every language, so a file name means the same thing to everyone who receives it. |
| Multiple Records | Max. Values Named | [Max. Values Named](../table/8125.md#fields) | Specifies how many different values each placeholder lists when one file covers several records. Repeated values are listed once. Beyond this number, only the first and the last value are named, joined by the range word. <small>from the table field</small> |
|  | Separator | [Separator](../table/8125.md#fields) | Specifies the text placed between the records named in one file, when the file covers several records - for example, a report run for a range of invoices or for several customers. A file for a single record never uses it. To put text between two placeholders, type it into the file name pattern. <small>from the table field</small> |
|  | Range Word | [Range Word](../table/8125.md#fields) | Specifies the word placed between the first and the last record when a run covers more records than are named one by one, so the name reads 10000-to-99999. It sits between two separators. Leave it blank to join the two with the separator only. <small>from the table field</small> |
| FactBoxes | Example File Name | part [Page 8127 "Report Filename Preview"](../page/8127.md) | — |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Available Placeholders | Shows the placeholders this report and table can supply, and adds the one you choose to the end of the file name pattern. To put it somewhere else, move it within the file name pattern afterwards. |  |
|  | Clear report | Removes the report from this pattern and keeps its table, so the pattern applies to every report on that table. |  |
|  | Test pattern | Opens a page where you choose records and see the file name they would get, and whether that name comes from this pattern, from another pattern, or is Business Central's own file name. |  |

## Procedures

2 local procedures, no public ones.

## Triggers

OnOpenPage, OnAfterGetRecord

## Relations

- source table [Table 8125 "Report Filename Pattern"](../table/8125.md)

## Pages and codeunits on this table

- [Page 8125 "Report Filename Patterns"](../page/8125.md) (card page)

## Recent changes

- 2026-10-27 [#12610 [Report Filename Manager] New app for configurable report output file names - Slice 651696 [vendor work]](../../changes/bcapps/12610.md) (main, BC30, feature, added)

## Across versions

- Present in: BC30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Report Filename Pattern Card")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
