web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    30,066 Super User 2025 Season 2 on at
    Uploading Attachments for Unique Table in Business Central
     
  • YUN ZHU Profile Picture
    93,438 Super User 2025 Season 2 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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Sumit Singh Profile Picture

Sumit Singh 2,204

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 1,933

#3
YUN ZHU Profile Picture

YUN ZHU 1,885 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans