This gem uses a Graph connection to enable the efficient transfer of data from multiple Dynamics Business Central objects to a designated SharePoint folder. This robust solution enhances data management, accessibility, and scalability by centralizing data from diverse Dynamics Business Central objects within the secure and collaborative SharePoint environment in the form of CSV files. The uploaded files will be named as Object_currentdate.
Setup Guide
This gem will pull the data from each Dynamics Business Central object specified in the Object List parameter. The gem will then generate a CSV file for each object and send all files to the desired SharePoint folder.
To run this gem and connect Dynamics Business Central to SharePoint, it is necessary to configure the parameters that are mentioned below.
Dynamics Business Central
Server HostRequired. Specify the server host URLhttps://[Host]:[Port]/[Instance]/oDataV4.UsernameRequired. Specify the username.Access KeyRequired. Specify the access key.CompanyRequired. Specify value in format Company('[id]').Object ListRequired. This parameter accepts comma-separated values if you want to pull data from multiple Dynamics Business Central objects, e.g. PurchasePrices.Batch SizeRequired. The default is set to 200.Query ParameterOptional. Multiple query parameters are separated by a new line.CompressionOptional. The default is set to false.
Microsoft Graph
Server HostRequired. The default is set tohttps://graph.microsoft.com/v1.0/sites/rootwhen connecting to the default SharePoint instance. Set tohttps://graph.microsoft.com/v1.0/sites/<site-id>when connecting to a specific SharePoint instance.Token FileRequired. Select the Rest Token file from the drop-down list. Review the аrticle mentioned here regarding how to generate the token file.Destination FolderRequired. Specify the path to the destination folder ending with a trailing slash.