bc-attachments-generator

Generate attachment, link, and note functionality for custom Business Central tables.

1|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/javiarmesto/aldc-workshop-starters --skill bc-attachments-generator-javiarmesto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bc-attachments-generator
Source: https://github.com/javiarmesto/aldc-workshop-starters/tree/main/04-greenfield-starter/.github/skills/bc-attachments-generator
Command: npx skills add https://github.com/javiarmesto/aldc-workshop-starters --skill bc-attachments-generator-javiarmesto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the complexity of implementing Business Central document attachments, links, and notes across custom tables by providing a repeatable Microsoft-pattern-based workflow.

Core Features & Use Cases

  • Attachment Integration Generation: Creates the required setup fields, enum extensions, attachment management codeunits, lifecycle triggers, and factbox configurations for Business Central entities.
  • Document Management Patterns: Implements visibility controls, attachment filtering, rename/delete handling, and compatibility patterns for legacy and modern Business Central factboxes.
  • Use Case: Use this Skill when extending a custom Business Central table with document attachments, links, notes, and document lifecycle management following recommended AL development practices.

Quick Start

Use the bc-attachments-generator skill to add complete attachment, link, and notes support to my custom Business Central table.

Frequently Asked Questions about bc-attachments-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add document attachments to a custom Business Central table?

To add document attachments to a custom Business Central table, you need setup fields, enum extensions, attachment management codeunits, lifecycle triggers, and factbox configurations. This approach implements attachment, link, and note functionality using AL development patterns.

What AL objects are required for Business Central attachment management?

Business Central attachment management requires page extensions for factbox configuration, codeunits for event subscribers, table triggers for lifecycle handling, and enum extensions for entity-specific attachment filtering to provide complete document management capabilities.

Does the Business Central document attachment factbox support legacy and modern versions?

Business Central document attachment factboxes support both legacy and modern versions through compatibility patterns. The implementation includes visibility controls and attachment filtering to ensure proper document management integration across different Business Central environments.

How do you handle rename and delete events for Business Central attachments?

Handling rename and delete events for Business Central attachments requires table triggers and event subscribers in AL code. These lifecycle triggers ensure document links and notes remain synchronized when custom table records are modified or removed.

What's the best way to configure attachment filtering for Business Central entities?

The best way to configure attachment filtering for Business Central entities is using enum extensions and entity-specific setup fields. This Microsoft-pattern-based approach applies visibility controls within factboxes to filter attachments accurately per custom table.

When do I need to extend enums for Business Central document attachments?

You need to extend enums for Business Central document attachments when adding custom tables to the document management system. Enum extensions define entity-specific attachment filtering, allowing the factbox to recognize and display attachments for your custom table records.