Hit enter to search.
We are pleased to inform you that we support the transfer of attachments to from Dynamics 365 Sales - both read and write.
So, if you have Microsoft Dynamics 365 Sales and would like to transfer attachments to and from those CRM systems to your MS Dynamics 365 ERP, such as Business Central, we've got you covered.
For example, you can configure MyRapidi to transfer attachments from Microsoft Dynamics 365 Sales to Business Central. The attachments can be transferred in both directions.
Or if you would like to transfer attachments from MS Dynamics Sales to Salesforce Rapidi can do this as well.
Transferring attachments like images and PDF files to/from Microsoft Dynamics 365 Sales gives you several benefits. This integration streamlines business processes, enhances data accessibility, improves collaboration, and contributes to more effective customer engagement and service. Furthermore, it can lead to significant efficiency gains and better data management across your organisation.
- The attachments content type from MS Dynamics 365 Sales must be stored in a binary format:
- The attachments from Salesforce would need to be stored in a base64 format.
- The attachments from MS Dynamics 365 Business Central must be stored in a stream file format:
Please note: The API V2 tables that are being used to fetch the attachments from Business Central have been available only for Business Central 2020 wave 2 (v17.2) onwards. Older Business Central versions do not have these APIs available anymore and cannot be enabled.
Before configuring the attachment transfer to and from Business Central to MS Dynamics 365 Sales, the field $systemId (2000000000, GUID) would need to be published in Business Central (an extension needs to be created) for the table in question.
In order to publish/expose the above field, please read our article about how to create an extension in Business Central / Publish SystemCreatedAt field in Business Central and go through all the steps.
Currently, we support PDF file transfers from Microsoft Dynamics 365 Sales to Business Central via Rapidi. This functionality is supported bidirectionally. You can transfer files from and to Microsoft Sales (Sales Hub) to your Business Central instance.
Attachments in MS Dynamics Sales 365 are stored in two different database tables, which are ActivityMimeAttachment (Email Attachment) and Annotation (Notes). If a user uploads a file to a note, the attachment is stored in the Annotation table, and if a user uploads a file to an email, the attachment will be stored in the ActivityMineAttachment table.
The Notes table in MS Dynamics Sales 365 is linked to all tables or entities, such as accounts, leads, opportunities, invoices, orders, etc. On any of the listed tables, the user can upload a file within Notes, which will be displayed as an attachment.
Attachments in Business Central are stored in a database table called DocumentAttachmentsAPIV2. From that table, you will retrieve any attachment that is linked to any of your accounts or transactions.
Below we will walk you through how to set up the attachment transfer to from Dynamics 365 Sales to Business Central
The steps needed to configure your transfer in myrapidi.com and to be able to transfer files successfully are the following:
Note: If you need all the steps required to set up both connections - check our article on how to set up ODATA connections via Azure AD.
Fill in all the fields from the General section of the transfer. Make sure that you select the correct Source and Destination Layouts
image: General section
Next, go through Source Control and add any source control (e.g when the attachment has been created).
Quick Tip: Using a timestamp when setting up any data transfer is always recommended.
Then, you need to update the Table Link section. Here, you have to add the primary keys/identifiers you want to use for this transfer.
image: Source Control & Table Link
Next step in the setup process is mapping the fields needed to transfer your attachments.
image: Field list (mapping)
Here, you must map the above 4 fields (as seen above). These fields are mandatory and need to be mapped in order to transfer your attachments. Remember that Business Central requires you to include the parentID to which this attachment should be linked. It is also recommended to store this ID in MS Dynamics 365 Sales so you can match the records from both systems.
The required fields are:
The last part of the process is to add filters via Filters Source. This is optional, but it is recommended for testing purposes.
image: Filters Source (delimitations)
After you have created the transfer and added all the information, make sure to click on Activate Design (at the top of your transfer page) before running a test.
image: Activate Changes
The steps needed to configure your transfer in myrapidi.com and to be able to transfer files successfully are the following:
Please Note: If you need all the steps required to set up both connections - check our article on how to set up ODATA connections via Azure AD.
Fill in all the fields from the General section of the transfer. Make sure that you select the correct Source and Destination Layouts.
image: General section
Next, go through Source Control and add any source control (e.g when the attachment has been created).
image: Source Control
And as mentioned earlier: Using a timestamp when setting up any data transfer is always recommended.
Then, you need to update the Table Link section. Here, you must add the primary keys/identifiers you want to use for this transfer.
image: Table Link
Next step in the setup process is mapping the fields needed to transfer your attachments.
Here, you must map 3 fields (as seen above). Remember that Dynamics 365 Sales requires you to include the object ID to which this attachment should be linked. It is recommended to store this object ID in Dynamics 365 Business Central so you can match the records from both systems.
The required fields are:
image: Field List (mapping) showing 'Edit mode'
The last part of the process is to add filters via Filters Source. This is optional, but it is recommended for testing purposes.
image: Filters Source
After you have created the transfer and added all the information, make sure to click on Activate Design (at the top of your transfer page) before running a test.
image: Activate Changes
Congratulations you have completed the setup for file tranfer between MS Dynamics 365 Business Central and Sales
Now, after setting everything up lets see how the files will appear in both systems.
In the below example, a PDF file has been attached to an opportunity in MS Dynamics 365 Sales.
image: Pdf attached to Opportunity in Dynamics 365 Sales
In Business Central, the same file will be transferred into Attached Documents (DocumentAttachmentsAPIV2) and will be linked to the Sales Order:
image: Pdf visible under Attached Documents and linked to a Sales Order in Business Central
In the below example, a PDF file will be transferred from Business Central to MS Dynamics 365 Sales.
image: Pdf file under Attached Documents and linked to a Sales Order in Business Central
A PDF file has been attached to a Sales Order in Business Central. And the same file has been transferred to MS Dynamics 365 Sales under Notes on the opportunity (as illustrated below).
image: Pdf file visible under Notes on the Opportunity in Dynamics 365 Sales
Currently, we support PDF file transfers from Microsoft Sales to Salesforce via Rapidi. This new functionality is supported bidirectionally. You can transfer files from and to Microsoft Sales (Sales Hub) to your Salesforce instance. Below a walkthrough how to set up the attachment transfer to from Dynamics 365 Sales to Salesforce.
The example below will explain how to transfer a binary file (.pdf) from an opportunity in Dynamics Sales 365 into the Salesforce opportunity. You can choose any Dynamics 365 Sales table to transfer your attachments to Salesforce.
Follow the steps needed as describe below to configure your transfer in myrapidi.com and to be able to transfer files successfully:
Note: If you need all the steps required to set up both connections - check our article on how to set up ODATA connections via Azure AD.
Fill in all the fields from the General section of the transfer. Make sure that you select the correct Source and Destination Layouts.
image: General section
Next, go through Source Control and add any source control (e.g when the attachment has been created).
image: Source Control
Then, you need to update the Table Link section. Here you have to add the primary keys/identifiers that you want to use for this transfer.
image: Table Link
The second-last part of the process is mapping the fields needed to transfer your attachments.
image: Field List (mapping) in 'edit mode'
Here, you must map 3 fields (as seen above). Remember that Salesforce requires you to include the Salesforce parent ID that this attachment should be linked to (this would be the Salesforce object ID). It is recommended to store this object ID in Microsoft Sales as well so you can match the records from both systems.
The required fields:
The last part of the process is to add filters via Filters Source. This is optional but, for testing purposes, it is recommended to use it.
image: Filters Source
After you have created the transfer and added all the information, make sure to click on Activate Design ( at the top of your transfer page) before running a test.
image: Activate Changes
Fill in all the fields from the General section of the transfer. Make sure that you select the correct Source and Destination Layouts.
image: General section
Next, go through Source Control and add a source control field (a DateTime field that can be used to control the attachments that are being transferred from the source system to the destination system).
image: Source Control
Note: It’s always recommended to use a timestamp when setting up any data transfer.
Then, you need to update the Table Link section. Here you have to add the primary keys/identifiers that you want to use for this transfer.
image: Table Link
The next part of the process is mapping the fields needed to transfer your attachments.
Here, you must map 3 fields (as seen below). Remember that Dynamics 365 Sales requires you to include the object ID this attachment should be linked to. It is recommended to store this object ID in Salesforce as well so you can match the records from both systems.
The required fields are:
image: Field List (mapping)
The last part of the process is to add filters via Filters Source. This is optional but for testing purposes, it is recommended to use it.
image: Filters Source
After you have created the transfer and added all the information, make sure to click on Activate Design (at the top of your transfer page) before running a test.
image: Activate Changes
This is an example of how the attachment is being sent from Microsoft Dynamics 365 Sales to Salesforce. This is the attachment which is linked to the opportunity:
image: Attachment sent from Dynamics 365 Sales to Salesforce
And, after transferring the attachment, this is how it looks in Salesforce:
In Salesforce, the attachment will be displayed under Notes & Attachments on the Opportunity page.
You will see the attachment title, who created it and when it was created.
image: Attachments visible in Salesforce
I hope you found this article useful and if you have any issues with the setup of your file transfers please contact support for further assistance.
Also, I encourage you to check out this article on how to setup file transfers to and from MS Dynamics 365 Business Central
Last but not least join our Product Updates Webinar to get up to date about the lasted features and improvements on the MyRapidi Data Integation Platform.
If you are new to Rapidi and would like a basics introduction to the data integration platform please join our Webinar: Introduction to MyRapidi.
Andreea Arseni, Data Integration Consultant
Feature Highlight: How to use RTI
Support for Attachment to from Dynamics 365 Sales (read or ...
Support for Attachment to from Dynamics 365 Business ...
Carrer de la Font del Colom, 6,
L'Aldosa,
AD400 La Massana, Andorra
Copyright © 2024 Rapidi.
All Rights Reserved
Terms & Conditions |
Privacy Policy