• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Blazor Adobe PDF Embed API Loading a pdf within a database which is stored in varbinary

New Here ,
Dec 10, 2021 Dec 10, 2021

Copy link to clipboard


Hi, I have a question about using the Adobe PDF Embed API with a pdf file that has been stored within a database in a varbinary format, I have created a Blazor project to view a pdf which worked by setting the data of an object to a data url however it didn't work with large files in some browsers as they had a data url limitation. So I found this api and the example which easily loaded the same large files in this browser however I have not been able to get it to work.

Here is the relevant code

a div with id="adobe-dc-view"


A function which is called by a button and calls upon a js function


and a js function within a .js file


The js file is refrenced in the _Host File and already has another function within it that works.

I believe the fault my lie in the js function code as I am unfamiliar in converting html scripts into a seperate file.

Would very much appreciate any help that anyone has on this matter








Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation