Reading files from OneDrive or other from PowerPoint taskpane

KJazem 0 Reputation points
2023-05-01T18:28:20.39+00:00

I am using the NodeJS yeoman generator to develop a PowerPoint add-in and the Office JS API. I want to implement a functionality that connects to a OneDrive folder from the task pane, where you can select the files you want to read, and either load the data onto the active slide (likely a text file or an Excel file) or save it in some local state/storage and use it later.

From my researching, this came up the most: https://video2.skills-academy.com/en-us/training/modules/msgraph-access-file-data/

But I wanted to see if there is a more straightforward or a better way; maybe using a NodeJS package?

Any help would be appreciated. An example which uses PowerPoint Office API would be welcomes as well.

PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
247 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
927 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,687 questions
0 comments No comments
{count} votes