MADHDA Business Solutions
  • Home
  • About Us
  • Services
    • Implementations
    • Support
    • Training
    • Upgrade
    • Business Analysis
  • Solutions
    • MS Dynamics 365 Business Central
    • MS Dynamics Nav
    • MS Dynamics 365 Sales/CRM
    • Power BI
    • Power Automation
  • Resources
    • Blog
  • Contact Us
  • How To Upload and Download a File in Business Central using InStream and OutStream

How To Upload and Download a File in Business Central using InStream and OutStream

22 September 2020

How To Upload and Download a File in Business Central using InStream and OutStream

Hello All,

In this article we will see 2 functionalities.

  1. How to upload a file and store it to table and
  2. How to download a file from table.

Prerequisites:

  • Dynamics 365 Business Central Sandbox Environment.

Steps,

  1. Create Table to store file.
  2. Create a page.
  3. Create a functions for upload and download file.
  4. 4.Call that functions from page.

 

1. Create a table that contain Blob field which will store the file content.

 

2.Create a Page and add an action for Import File and Export File to Upload and download it.

 

 

 

 

3. Create functions for upload and download file.

 

4. Call these functions on OnAction trigger.

 

Now we will see that how it work.

We will import 3 types of files: text, pdf and jpg.

 

 

 

Now we will export these files and we can download them.

 

 

 

So using InStream and OutStream we can upload and download file in Business Central.

Previous post: Microsoft Dynamics 365 Business Central New Released – September 2020 Wave 2
Next post: First Certificate for Business Central Exam

Categories

  • Microsoft Dynamics 365
  • Microsoft Dynamics Business central
  • Microsoft Dynamics NAV
  • Uncategorized

Recent Post

  • Five big benefits of Dynamics 365 Business Central's Cloud ERPs.
    July 15, 2022
  • By Integrating Microsoft Dynamics 365 Business Central with CRM, What benefits business houses can achieve?
    June 17, 2022
  • What is the process of Sales Quote to Cash(QTC)?
    June 6, 2022
  • Business Central 2022 wave 1 (BC20) new features: Finding documents and entries efficiently
    March 19, 2022
  • Merge/combine duplicate vendors or customers in Microsoft Dynamics 365 Business Central.
    January 5, 2022
 


    © Copyright 2020 | All Rights Reserved By MADHDA