Product: Dynamics 365 Business Central
Article Link: http://help.truecommerce.com/en/articles/11463397-dynamics-365-business-central-viewing-the-integration-cloud-log
The TrueCommerce Integration for Dynamics 365 Business Central is a Cloud Based Framework solution meaning that all communication between Transaction Manager and Business Central occur through a standard Web Service request process.
It can be vitally helpful to see both the Requests and the Responses that occur from these Web Services in order to track down an issue or an error you may of received when troubleshooting. The Cloud Log provides you with this information allowing you to not only see the Payload (values for each field) being sent between both platforms, but also additional key details about the process that ran.
Enabling the Cloud Log
You will need to first enable Cloud Integration Logging within the System Configuration settings to begin producing Integration Logging activity for Transactions moving forward
Transactions processed prior to enabling will not appear within the log
Enabling Logging
Navigate: Administration β System Configuration
Check: Cloud Integration Logging
To ensure maximal efficiency on processing Transactions - the system will automatically turn Cloud Integration Logging back off each night
Generating a Cloud Log
Once the Cloud Integration Logging is enabled the system will automatically generate a log for any process that requires the system to communicate with Dynamics 365 Business Central such as Transaction Searching, Importing, Exporting, and Partner/Item Syncs.
Viewing and Downloading a Log
After you've performed any Integrate Action such as an Import or an Export the system will generate a log which can be found under the Cloud Log screen under System Activity which will include a lot more details regarding how Transaction Manager and Dynamics 365 Business Central communicated.
The System will only display the last 3 Transactions. When troubleshooting be sure to only process a single transaction otherwise the system may not produce logs for the problematic one
Viewing Cloud Logs
Transaction Manager has a built in display for the Integration Cloud Log within the Cloud Logging screen - while this view can be used to quickly check against some basic details it is typically not very efficient to parse through the Integration Logs through a Web Browser as the amount of data can be slow for the system to render.
It is recommended that you open the Integration Log in a Text Editor such as NotePad++ or Visual Studio Code
Navigate: System Activity β Cloud Log
Quick Copy a Transaction Log
The Cloud Log screen automatically separates each activity block for you as an independent entry. When you single click the text area, you will notice the area turns green indicating you've clicked on a particular entry. If you continue to scroll down you will eventually see a break between what you have selected and another area which will appear white (the next activity block)
If you're simply looking to grab a single Integration Log block (rather than the last 3) you can do so quickly by simply triple clicking the log content which will automatically select all the text within that activity block which you can then copy either by right-clicking or hitting Ctrl + C on your keyboard which can then easily be pasted into a Text Editor
Select: Integration Block
Triple Click: Integration Text
Copy: Selected Text (Ctrl + C)
Downloading the Cloud Log
You can download all Integration Logging that has occurred into a downloadable file utilizing the Export, Export CSV, or Export Text buttons located on the blue action bar. These export options will produce a file and be downloaded to wherever your Web Browser is set to automatically download files to.
It is recommended to use the Export Text option as the 'Export' option produces an Excel Format which can sometimes struggle to load properly within Microsoft Excel due to the intensity of the data.
Exporting Text
Navigate: System Activity β Cloud Log
Select: Export Text
For large logs this may take a moment to appear as the system processes the data into a downloadable file
Viewing Downloaded Integration Log
Once the Integration Log has been downloaded onto your system you can open and view the log information using any standard Text Editor, however we recommend that you utilize either NotePad++ or Microsoft Visual Studio Code to view the logs due to the powerful Extensions that make formatting and viewing the data easier.
Microsoft Visual Studio Code
Once the file is opened within Microsoft Visual Code you can use the XML Tools Extension to Format as XML (Ctrl+Shift+Alt+B) producing a color-coded and broken out way of viewing the Integration Log
NotePad++
If using NotePad++ you can use the XML Tools Plugin to Pretty Print (Ctrl+Shift+Alt+B) the integration log to automatically format it into a color-coded and broken out format.
rev 5/27/2025