16 Jan’17

Dynamics 365, EnterpriseIntegrating attachments to and from Dynamics 365 Operations

In this blog article, we will see how we can integrate attachments to and from Dynamics 365 Operations. We need to create a Data Entity which will be general for integrating all attachments to other systems. Attached data will be passed in Attachment field and transferred in Byte Array format.


  1. D3fO Environment.


  1. Create new Project.
  2. Duplicate the Entity
  3. Make the Entity general for attachments.
  4. Build and Synchronize the Project.

Create new Project

  1. Open Visual Studio.
  2. Go to File -> New -> Project.
  3. Select Operations Project. Provide Project Name and Solution Name.
  4. Click OK.

Duplicate the ‘EcoResDocumentAttachmentEntity’ Entity

  1. Go to AOT -> Data Model -> Data Entities -> EcoResDocumentAttachmentEntity.
  2. Right Click EcoResDocumentAttachmentEntity -> Duplicate in project.

Make the Entity general for attachments.

  1. Change Entity Property.
  2. Delete EcoResProductImage DataSource
    Go to Data Source -> Docuref DataSource -> EcoResProductImage. Right Click EcoResProductImage -> Delete.
  3. Delete fields
  4. Change Entity name in methods
    Go to Methods. Press F7. Replace EcoResDocumentAttachmentEntity with new Entity Name.

Build and Synchronize the Project.
Build the Project and Synchronize the Database.

So, this will create an entity to integrate attachments to and from D3fO. Let me know your reviews. I will soon come up with more articles, as I further explore D365 Operations.


Written by

Team Member


Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Managing mailbox through Email Archiving

    20 March’ 2018

    Introduction: Email can fill your Outlook Inbox quickly – new messages, replies, and forwards. Before you know it, yo...

    Read more
  • Workaround to Report.SAVEASPDF in NAV 2018

    20 March’ 2018

    Objective: In NAV 2017 Emailing the PDF by running the report using Report.SAVEASPDF is now not allowed in NAV 2018. Th...

    Read more
  • Dynamics 365 Client Diagnostics

    15 March’ 2018

    Main cause of Performance Issues: Bandwidth and latency are the primary characteristics which affects the performance o...

    Read more
  • Closing Blind Shift in MPOS and CPOS in Dynamics 365 for Retail

    15 March’ 2018

    Manual For closing Blind shift in POS: Blind shifts terminate the currently ongoing shift and when logged in a new shif...

    Read more
  • Persistent Filters in the Power BI Service

    13 March’ 2018

    Introduction: The feature is finally release, and it is power BI has announced general availability of persistent filt...

    Read more