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

This is a Required Field

Loading

Recent Updates

Blogs
31 Mar, 2026

Debugging Power Pages Server Logic Using Visual Studio Code

Power Pages Server Logic allows developers to execute secure backend JavaScript directly within Power Pages. It is commonly used for…

READ MORE
Blogs
31 Mar, 2026

Create and Deploy a Single Page Application (SPA) in Power Pages

In this blog, we’ll build and deploy a Single Page Application (SPA) using React + Vite and host it on…

READ MORE
BuildAndDeployPCF_Thumbnail.png
Blogs
25 Mar, 2026

Build And Deploy Your First Dataset PCF Control In Dynamics 365

Introduction In Dynamics 365, subgrids are commonly used to display related records, such as Opportunities under an Account. While out-of-the-box…

READ MORE