Skip to main content



No record found.

Business Central forum
Suggested answer

Uploading Attachment to Document Attachments Table via API

Posted on by 5
 We are uploading documents via this API  but the files are appearing in the Incoming Document Files section and not the Attachment Section, after checking and debugging I learned that there are 2 tables for attachment, one is Document Attachment (The AttachmentTab) and the other one is Attachment, the API will create in the second one, any ideas how to create files in the Document Attachment Table from the API?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 63,857 Super User on at
    Uploading Attachment to Document Attachments Table via API
    Hi, if you are using the standard API, unfortunately, only Incoming Document (table 130) is supported so far.
    If you want to use Document Attachment, this requires a custom API.
    API Page Type
    Hope this helps.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans