Support InMemory Blob in PDF Standalone PDF Viewer

Hello,


Would be perfect if you could add support for Blobs in memory in browser API
From what I've deducted that is the place where it fails to fetch binaries from inMemory (which is a huge waste)

Plase let me know - as this seems to be lower hanging fruit.
(I know that I can first load file on my own, but would be just sweet if PDF viewer could do it for me).




5 Replies 1 reply marked as answer

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team July 19, 2024 11:05 AM UTC

Hi RolJan,

We are checking on the possibility of loading the blob URL in PDF Viewer and will get back to you with further updates in two business days, by July 23, 2024.



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team July 23, 2024 12:20 PM UTC

Hi RolJan,

We have logged this as a defect as "Unable to load the blob URL in PDF Viewer" and will include the fix in our weekly NuGet release, which is estimated to be available on August 14, 2024. You can track the status of the issue through the following link.


Feedback link:  Unable to load the blob URL in PDF Viewer | Issue Feedback


Disclaimer: "Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization."



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team August 14, 2024 12:06 PM UTC

Hi RolJan,

We have addressed the reported issue, but unfortunately, it was not included in our latest weekly release due to a conflict. However, you can expect the fix to be included in our upcoming weekly NuGet release on August 20, 2024.



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team August 21, 2024 03:06 PM UTC

Hi RolJan,

Sorry for the inconvenience. We have addressed the reported issue, but unfortunately, it was not included in our latest weekly release due to a technical glitch. However, you can expect the fix to be included in our upcoming weekly NuGet release on August 27, 2024.



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team August 27, 2024 10:40 AM UTC

Hi RolJan,

We have fixed the reported issue "Unable to load the blob URL in PDF Viewer" and the fix for the reported issue was included in our latest weekly release v26.2.11. Kindly upgrade to that version to get the issue resolved.

 

Root Cause: We missed including the blob header in the condition to fetch the document on the client side, causing the document to fail to load when attempting to load the blob. Additionally, we need to handle this case in server rendering mode.

 

Solution: We added the blob header in the condition to retrieve PDF data on the client side and load it in the PDF Viewer.

 

Packages:   

 

CDN Links:

 

https://cdn.syncfusion.com/ej2/26.2.11/dist/ej2.min.js

https://cdn.syncfusion.com/ej2/26.2.11/material.css

https://cdn.syncfusion.com/ej2/26.2.11/dist/ej2-pdfviewer-lib/pdfium.js

https://cdn.syncfusion.com/ej2/26.2.11/dist/ej2-pdfviewer-lib/pdfium.wasm


Marked as answer
Loader.
Up arrow icon