---
id: object/page/4309
type: object
title: Page 4309 "Agent Task Message Attachments"
summary: Page 4309 "Agent Task Message Attachments" in System Application (System.Agents). 3 public procedures. Introduced in BC27, still in BC30.
tier: official
language: en
tags:
  - page
  - system application
versions:
  introduced: "27"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 121a211712003b5433374c96bd82146fc8c3a7c3e7024885bc51d6bf1d30d7e1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Agent/Interaction/Internal/AgentTaskMessageAttachments.Page.al
    title: src/System Application/App/Agent/Interaction/Internal/AgentTaskMessageAttachments.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 4309
name: Agent Task Message Attachments
caption: Attachments
namespace: System.Agents
app: System Application
extends: null
first_version: "27"
last_version: "30"
present_in:
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 5
  events: 0
  subscribers: 0
  controls: 2
  actions: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 4309 "Agent Task Message Attachments"

> Page 4309 "Agent Task Message Attachments" in System Application (System.Agents). 3 public procedures. Introduced in BC27, still in BC30.

System Application · System.Agents · captioned "Attachments" · BC27-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Agent/Interaction/Internal/AgentTaskMessageAttachments.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Attachments |
| SourceTable | Agent Task File |
| PageType | ListPart |
| 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 |
|---|---|---|---|
| GroupName | File Name | `Rec."File Name"` | Specifies the name of the attachment |
|  | File Size | `AttachmentFileSize` | Specifies the size of the attachment |

## Procedures

- `FormatFileSize(SizeInBytes: Integer): Text` (internal)
- `LoadRecords(var AgentTaskMessage: Record "Agent Task Message")` (internal)
- `GetDefaultEncoding(): TextEncoding`

Plus 2 local procedures.

## Triggers

OnAfterGetRecord

## Across versions

- Present in: BC27-30
- 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: "Agent Task Message Attachments")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
