Think360 ERP
  • Home
  • About Us
  • Services
    • Implementations
    • Support
    • Training
    • Upgrade
    • Business Analysis
  • Solutions
    • MS Dynamics 365 Business Central
    • MS Dynamics Nav / GP
    • MS Dynamics 365 Sales/CRM
    • Power BI
    • Power Automate
  • 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

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: How we can create multiple Web Client for Business Central to access different DB on the same environment (On Premise)?

Categories

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

Recent Post

  • How we can create multiple Web Client for Business Central to access different DB on the same environment (On Premise)?
    July 28, 2021
  • How To Upload and Download a File in Business Central using InStream and OutStream
    September 22, 2020
  • Microsoft Dynamics 365 Business Central New Released – September 2020 Wave 2
    September 18, 2020
  • Create RDLC Report in BC 365
    July 1, 2020
  • Developing NAV / Dynamics 365 Business Central Extensions with real-time collaboration
    June 30, 2020
 

    © Copyright 2022 | All Rights Reserved By Think360ERP