---
title: "Comment by Prashanth kumar on \"The 🆕 Way to In-Line Files with APEX\" | Hashnode"
description: "Jon Dixon This is very useful and informative blog. Thanks for sharing it. I have implemented the same in my application. But when I preview the PDF file within"
url: "https://hashnode.com/posts/the-new-way-to-in-line-files-with-apex/681399ca9c13b6d0b831e24c/comment/68219b9af64e4e10fbb8deba"
---

[Discussion](https://hashnode.com/posts/the-new-way-to-in-line-files-with-apex/681399ca9c13b6d0b831e24c)

Comment [The 🆕 Way to In-Line Files with APEX](https://hashnode.com/posts/the-new-way-to-in-line-files-with-apex/681399ca9c13b6d0b831e24c)

[Prashanth kumar](https://hashnode.com/@prashanth366)

[May 12, 2025](https://hashnode.com/posts/the-new-way-to-in-line-files-with-apex/681399ca9c13b6d0b831e24c/comment/68219b9af64e4e10fbb8deba)

[Jon Dixon](https://hashnode.com/@orclapex) This is very useful and informative blog. Thanks for sharing it.

I have implemented the same in my application. But when I preview the PDF file withing a Drawer and when I try to close (X icon) the drawer I see the below javascript error and it wont close. Any idea how to fix this? This happens in my Mozilla browser. In Chrome it works fine.

Uncaught DOMException: Permission denied to access property "apex" on cross-origin object pe [feuqalhqafx5hod-sodadevdb.adb.us-ashburn-1.oracle…](https://feuqalhqafx5hod-sodadevdb.adb.us-ashburn-1.oraclecloudapps.com/i/24.2.0/apex_ui/js/minified/devToolbar.min.js?v=24.2.0:4) fe [feuqalhqafx5hod-sodadevdb.adb.us-ashburn-1.oracle…](https://feuqalhqafx5hod-sodadevdb.adb.us-ashburn-1.oraclecloudapps.com/i/24.2.0/apex_ui/js/minified/devToolbar.min.js?v=24.2.0:4)
