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 :
Business Central forum
Under review by Community Managers

Under review

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

HELP! The Document Attachment Table (1173) Where is the link to the attachment???

Posted on by

As the title says, I've been racking my brain trying to figure out a way to expose a url to the attachment much like how the "Incoming Document Attachment" table (133) does.

For example, in the JSON response I get back from using the "Incoming Document Attachment" endpoint, I get this back:

{
    "@odata.context": "..extension endpoint => companies(555)/incomingDocumentAttachments",
    "value": [
        {
            ...
            "documentContent@odata.mediaEditLink": "..extension endpoint => companies(555)/incomingDocumentFiles(777)/documentContent",
            "documentContent@odata.mediaReadLink": "..extension endpoint => companies(555)/incomingDocumentFiles(777)/documentContent",
        }
    ]
}

I'm trying to find an api endpoint to expose a link to download the document attachment the same way that the incoming document attachment does. 

Any help would be much appreciated!

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans