Skip to main content

Notifications

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.
  • YUN ZHU Profile Picture
    84,555 Super User 2025 Season 1 on at
    Uploading Attachments for Unique Table in Business Central
    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
  • Valentin Castravet Profile Picture
    28,272 Super User 2025 Season 1 on at
    Uploading Attachments for Unique Table in Business Central
     

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans