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

Mithun K S 0 Reputation points
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

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
923 questions
0 comments No comments
{count} votes