web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Uploading Attachments for Unique Table in Business Central

(1) ShareShare
ReportReport
Posted on by 25
I am developing an extension that will have several unique tables, each with their own pages and api's. As such, I want to be able to upload an attachment for any record within any of the tables.

I'll incorporate a fact box for all of the tables that'll allow users to view the corresponding attachment for that record within that table.

Now, I have used the Document Attachment Resource to upload extensions. However, I cannot extend the Document Attachment Resource to include any unique tables.

As such, how would I go about implementing the above in Business Central.

Just to summarise: I've created the table "Example Users", and a corresponding Page "Example Users Page" and "Example Users API" . Within the page, there is a fact box that'll allow a user on BC to upload an attachment for a specific user on the "Example User Page". I want to extend this upload functionality to an API. However, I cannot use the Document Attachment Resource as it limits me to a set option of Document / Parent Types. Now, what is the best way of moving forward with this.
I have the same question (0)
  • Valentin Castravet Profile Picture
    32,390 Super User 2026 Season 1 on at
  • YUN ZHU Profile Picture
    99,611 Super User 2026 Season 1 on at
    Hi, First, please refer to the following link for how to add Attachments to a custom page.
    Dynamics 365 Business Central: How to add Attachments, Links, Notes Factbox to any pages
     
    But Attachments do not have a standard API (Incoming Document does)
    If you want to use Document Attachment, this requires a custom API.
    API Page Type
    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-api-pagetype
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,065 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,132 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 703 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans