knowledgecenter-breadcrum

Knowledge Center

14 Jul, 2020

Use BlobURL instead of DataURL

Posted on 14 Jul, 2020 by Admin, Posted in Dynamics 365

Use BlobURL instead of DataURL Blogs

Use BlobURL instead of DataURL

Introduction

In this blog, I have explained How to Use BlobURl to preview file or download file.

Problem Statement

In the browser, on web page, when we need to preview or download file then, we deal with file as dataURl which consist the content-type followed by Base64 string as file content. But, Data URL that contains base64 string, can be very large and handling it (like sending one page to another in URL) can be time consuming. Additionally, we cannot have large string in URL.

Solution

Instead of large size Base64 string to preview or download the file we can use BlobURL. Blob object contains the file content and we can use it as URL which is a BlobURL to upload/download data and also, we can used as ‘src’ to > <>> <>> <> <><>> > <><>> >> – > <>> <>> <><>>< /> <>>< /> <>>< /> <>>< /> <>>< /> <>>< /> <>}< /> <>>< /> <>>< /> <>}< /> <>>< /> <>> <>> <>> <><>>< /> <>>< /> <>>< /> <>>< /> <>>< /> <>}< /> <>> <>><>> > <><>> <>>/<>. > <>“></> </>

Comment

Loading

Recent Updates

Thumbnail D365 for Marketing
Blogs
16 Dec, 2024

10 Reasons Why You Need Dynamics 365 for Marketing

This blog discusses the top 10 reasons to choose Dynamics 365 for Marketing to improve your business's marketing efforts.  …

READ MORE
Thumbnail_top 10 benefits of
Blogs
02 Dec, 2024

Top 10 Benefits of Microsoft Dynamics 365

This blog lists the advantages of Microsoft Dynamics 365, focusing on how it can improve your business operations.    …

READ MORE
Thumbnail_Microsoft365 Vs D365
Blogs
12 Nov, 2024

Microsoft 365 vs Dynamics 365

This blog will help you understand the key difference between Microsoft 365 and Dynamics 365, so you can make an…

READ MORE