Announcements
Hello Friends,
With PO we attached one file please tell us in which table and class it store and how to get this by writhing code.
Thanks & Regards,
Rahul.
Hi Rahul,
In your second screenshot, there is Type "File", click on the link. It would take you to master record, there at least you will get an idea where attachments are stored (SharePoint/storage etc). Once you know that start researching in that direction.
In D365, there are entities to export the attachments. Take a look at 'General journal attachment' entity it would give you further ideas.
it is stored in Azure Blob
I checked at 'File' master record here location is select 'Azure storage'
Please tell me how i know where is 'Azure storage', I mean where is file attached at 'Azure storage'.
Hello Rahul.p,
You can open the azure portal, identify your machine and the storage accounts associated with it. There you should find your documents.
Best regards,
Ludwig
Hi Rahul.p,
As mentioned above, attachments are stored in Azure Blob.
Document types are used to categorize the documents that you attach to records or the templates that you create. Each document type can be stored in a unique location. The table for document types is named DocuType.
Record attachment information is stored in the DocuRef and DocuView tables. The DocuRef table is the record that represents the attachment. The DocuRef record points to the record being attached to and to a DocuView record. The DocuView record points to the file that is the attachment. Files are stored outside the database, therefore any database operations, like restoring from backup, will only affect the database information about the attachment, not the attachment file itself.
And you can find your attachments here.
Hi RahulP,
Docuref , docuValue tables are used behind the scenes to store attachments . If you find document reference find associated docuvalue table and look for field AccessInformation . It has reference to document attachment stored in Azure blob , something like below
https://******d5e54049882d1928.blob.core.windows.net/documents/65248ABA-6659-4110-BF93-F7AF6F35C523
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Subra 386
André Arnaud de Cal... 382 Super User 2026 Season 1
Martin Dráb 270 Most Valuable Professional