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

Community site session details

Session Id :

Integrating attachments to and from Dynamics 365 Operations

Community Member Profile Picture Community Member

In this blog article, we will see how we can integrate attachments to and from. 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.

Prerequisites:

  1. D3fO Environment.

Steps:

  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.

  • 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.

  • Delete EcoResProductImage DataSource
    Go to Data Source -> Docuref DataSource -> EcoResProductImage. Right Click EcoResProductImage -> Delete.

  • Delete fields

  • 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.

 

The post Integrating attachments to and from Dynamics 365 Operations appeared first on CloudFronts - Microsoft Dynamics 365 | Power BI | Azure.

Comments

*This post is locked for comments