Provide required information needed to triage your issue
Your Environment
- Platform [PC desktop, Mac, iOS, Office on the web]: PC Desktop
- Host [Excel, Word, PowerPoint, etc.]: Powerpoint
- Office version number: Microsoft® PowerPoint® for Microsoft 365 MSO (Version 2207 Build 16.0.15427.20182) 64-bit
- Operating System: Windows 10 home
- Browser (if using Office on the web): Chrome
Expected behavior
In my application, I'm using the 'Insert Slide from Base 64' function in Powerpoint API.
The slide inserted should use the same original formatting from the PPTX file (from which the base64 string is created)
PowerPoint.run(function (context) { return context.sync.then(function(){ context.presentation.insertSlidesFromBase64(base64String),{ formatting: 'KeepSourceFormatting' }; return context.sync() }) });
Current behavior
The content formatting which is present in the original PPTX file is not carried over when using the PowerPoint API.
Steps to reproduce
- Open Powerpoint - -Create new Presentation -Go to script lab - click on run
- Insert file that I've attached in this post
- click on 'Insert all Slides'
- Now open the file that I've attached in another window, you can see that the slides that were inserted using script lab and the original PPTX file. The formatting will be different.
Provide additional details
Context
I have an application, which stores a list of PPTX files in cloud, the user can select the file using the addin and insert all the slides from the PPTX file.
Useful logs
Lookup_addin_issue_file.pptx

Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.
Provide required information needed to triage your issue
Your Environment
Expected behavior
In my application, I'm using the 'Insert Slide from Base 64' function in Powerpoint API.
The slide inserted should use the same original formatting from the PPTX file (from which the base64 string is created)
PowerPoint.run(function (context) { return context.sync.then(function(){ context.presentation.insertSlidesFromBase64(base64String),{ formatting: 'KeepSourceFormatting' }; return context.sync() }) });Current behavior
The content formatting which is present in the original PPTX file is not carried over when using the PowerPoint API.
Steps to reproduce
Provide additional details
Context
I have an application, which stores a list of PPTX files in cloud, the user can select the file using the addin and insert all the slides from the PPTX file.
Useful logs
Lookup_addin_issue_file.pptx

Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.