OfficeJS integration

125 views
Skip to first unread message

Ron Astle Lobo

unread,
Jul 10, 2024, 12:19:27 PMJul 10
to Chromium Extensions
I want to use the Microsoft Office API in my Chrome Extension. I want to access the Excel and Word APIs to read and write text in Office Web.

I am following https://stackoverflow.com/questions/77792740/i-want-to-use-the-microsoft-office-api-in-javascript-as-i-am-developing-a-chrome as a reference. Seems like the Original Poster has got a breakthough to access OfficeJS.

However, I am getting the following error, 
Screenshot 2024-07-10 at 12.10.27 PM.png

In my Content script layer, I am doing the following, 
iframe.setAttribute('sandbox', 'allow-same-origin allow-scripts');

But still getting the same error.

I need some help.
Reply all
Reply to author
Forward
0 new messages