Share via

context.document.insertFileFromBase64() not working in node module 1.1.93

Anonymous
2024-07-03T06:42:14.1266667+00:00

We are trying to execute context.document.insertFileFromBase64() which is not working with latest avalable node module . (https://www.npmjs.com/package/@microsoft/office-js)

Same API works well when we use office js from CDN (https://appsforoffice.microsoft.com/lib/1/hosted/office.js)

We need to consume Office JS API from node module and hence request to provide us the solution

Thanks,

Mithun

Microsoft 365 and Office | Development | Office JavaScript API
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.