Hi,
I am experimenting with the JavaScript APIs in beta/preview for a MS PowerPoint Add-in. What I want to achieve is to insert a new slide from a base64-encoded .pttx file into the current document.
I would expect that this is possible with the insertSlidesFromBase64(base64File, options) method, which is documented here: PowerPoint API doc
I have included https://appsforoffice.microsoft.com/lib/beta/hosted/office.js in the Add-in
I am working on Mac OS 10.15.7
I have updated PowerPoint to the newest version in the Beta Channel. The PowerPoint Version is 16.44 (20111100).
Now, I am not quite sure if the beta API Methods are actually available in my environment. The bigger issue I am facing is that I don't know on which object I can call this method. I think the method should be available somewhere in the context of the current document/presentation?!?
I think a very simple example of how I can insert a "base64EncodedPptx" with insertSlidesFromBase64("base64EncodedPptx")
would probably clarify how this works.
Regards, Alex
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hi,
I am experimenting with the JavaScript APIs in beta/preview for a MS PowerPoint Add-in. What I want to achieve is to insert a new slide from a base64-encoded .pttx file into the current document.
I would expect that this is possible with the insertSlidesFromBase64(base64File, options) method, which is documented here: PowerPoint API doc
I have included https://appsforoffice.microsoft.com/lib/beta/hosted/office.js in the Add-in
I am working on Mac OS 10.15.7
I have updated PowerPoint to the newest version in the Beta Channel. The PowerPoint Version is 16.44 (20111100).
Now, I am not quite sure if the beta API Methods are actually available in my environment. The bigger issue I am facing is that I don't know on which object I can call this method. I think the method should be available somewhere in the context of the current document/presentation?!?
I think a very simple example of how I can insert a "base64EncodedPptx" with
insertSlidesFromBase64("base64EncodedPptx")would probably clarify how this works.
Regards, Alex
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.