I have an Office JS Task Pane Addin with some different features. For some features I need to store custom shapes that I want the user to be able to insert on slides. I also need to do the similar for complete slides.
For the time being I have a presentation with the relevant shapes and slides arranged to be downloaded and stored locally. But I'm thinking I would rather arrange it so I have a central location where this is stored. When the number of users are growing I have however some concerns regarding response time. What would be the bast arrangement for storing the slides and shapes to be used in the Addin (in a way that avoids response time issues)? On Azure where the have deployed to the Addin itself to?
Appreciate any guidance on this!
I'd recommend that you keep the "library" presentation on a shared OneDrive or SharePoint folder that all users have read permission to. Your add-in can use Microsoft Graph to fetch the presentation. Then your add-in converts it to base64 which you can pass to the Presentation.insertSlidesFromBase64()
method.