RichApi.Error: GeneralException when loading shapes in PowerPoint Online #4906
Labels
Area: PowerPoint
Issue related to PowerPoint add-ins
Type: product bug
Bug in the Office Add-ins platform or Office JavaScript APIs
Calling ShapeCollection.load() on a collection retrieved from SlideLayout.shapes causes a RichApi.Error: GeneralException in PowerPoint Online:
The error does not occur in PowerPoint for Windows,
Your Environment
Expected behavior
The ShapeCollection is loaded and available for enumeration.
Current behavior
The error listed above occurs.
Steps to reproduce
Load this script in Script Lab:
Provide additional details
EDIT: After some testing, it appears to be happening only with a presentation created from a custom template:
PresentationFromCustomTemplate.pptx
The error does not occur with a new, blank presentation from no template:
PresentationFromNoTemplate.pptx
The text was updated successfully, but these errors were encountered: