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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Export attachments

(0) ShareShare
ReportReport
Posted on by 10

We are using Dynamic AX and we want to export all the existing attachments which stored in AX/Microsoft blob storage. First, let me explain the current situation: 

AX has a backend SQL database that contains all the attachments metadata

there is a front entity data structure that you can use OData connection to it but it gives you the entities data (not the files)

there is a Export job in app that you can use to extract the entities data and some attachments but based on my experience, its not a efficient tool, its slow, has lots of error and wont give you all the attachments  

(just FYI, there is around 4400 entities and 62000 attachments and I need to extract them, please dont ask why you need to extract and etc)

so my main question: How we can extract them all in a efficient way (means reliable, without error and make sure we will get everything)??

The possible solutions can be:

1- use the customized app export job

2- use Data Factory to generate the download URL (File GUID+Token)

3- use VS to generate the package and connect to AOT and download the files

 

Any experience, thoughts?

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Moved to AX Forum.

  • IgDmitrov Profile Picture
    25 on at

    Hi! Pouyan,

    You can select file name, id and link from AX database this is table - DocuValue.

    After that you can write client (e.g. Console C# application) and download these files.

    I did it in the old version of Dynamics Ax 2009.

    It's my suggestion.

  • Pouyan Profile Picture
    10 on at

    Thanks, make sense. Could you send me your C# code? I cant find a good one.

    I think I need to generate the token part and use GUID to call the files

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans