I'm developing add-in that copies data from Excel to PowerPoint for Office (office.js) but I can't get the opened PowerPoint presentation to write in it. I know that in the past it was not possible, but I thought that they improved the API, I have read the documentation, but I cannot find any solution. Have anyone from idea?
Excel to PowerPoint using Office Javascript API
220 views Asked by DenisPaul At
2
There are 2 answers
0
Rick Kirkham
On
I'm not entirely clear on what your scenario is, but if the Excel workbook is stored on a SharePoint or OneDrive folder, you can have an add-in in PowerPoint use the Microsoft Graph APIs to open it and get data and paste the data into the open PowerPoint document. This sample does that: PowerPoint-Add-in-Microsoft-Graph-ASPNET-InsertChart.
Related Questions in OFFICE365
- Can you programmatically generate a link to open a Word document and navigate to a particular location within it (preferably a comment)?
- Excel dynamically calculate cost of products based on bill of materials (BOM) and purchase price history
- Microsoft Office 365 problem cannot open a blank excel document
- In OfficeScript, how can I make it return the number of cells with a red background?
- Visual Studio write to Office 365 word
- Audit a share Excel workbook
- Copy paste a single value from within a cell to another cell
- Highlight column based on current date and time
- Share Outlook calendars with all members of specific security group
- Python IMAP4 keeps throwing this error when I'm connecting to Outlook. Has anyone seen this error before?
- IMAP configs for Outlook using Mail-listener
- How to add a new menu item on OneDrive action menu?
- Unable to locate fields in Microsoft Access
- Download Sharepoint aspx pages as pdf using python
- VBA - detect if user is running on 365
Related Questions in OFFICE-JS
- TS2339: Property 'getOoxml' does not exist on type 'Worksheet'
- office.js item.close() and inline replies in outlook
- Difficulty Embedding Fonts in PowerPoint Slides via insertSlidesFromBase64 Method
- Excel addin authentication for manifest referenced files
- Inline pictures: Add margin
- Does the Excel desktop client have a DOM Document, and how do I get to it?
- How to pass data from taskpane to a newly-created email?
- Can we extend the built-in Ribbon options using Office js manifests?
- Why can't I get a result from the Office.context.mailbox.item.to.getAsync function?
- Outlook Addin via JavaScript API: retrieving the categories of items in multi-select mode
- Share a piece of Redux state with custom functions only when its value has become stable
- Dispatch an action from custom functions
- Office-Js - How do I modify the manifest to add custom tab or custom button?
- Removing SlideMasters using the PowerPoint API
- how to get access token in word document 365 in desktop view
Related Questions in OFFICE-ADDINS
- office web addin URLs in manifest to local images
- Excel addin authentication for manifest referenced files
- Does the Excel desktop client have a DOM Document, and how do I get to it?
- Why PresentationOpen event is not triggered when opening an existing presentation via an hyperlink in the current presentation?
- Why can't I get a result from the Office.context.mailbox.item.to.getAsync function?
- VB code to set two color gradient in PowerPoint cell table
- Removing SlideMasters using the PowerPoint API
- how to get access token in word document 365 in desktop view
- Develop Add-in from an existing spreadsheet Excel JavaScript API
- Microsoft Excel Add-in Microphone Access
- PowerPoint JS API: connect 2 rectangles
- How can I get the full content of a Word Document?
- "Trusted Add-in Catalogs" in the Trust Center settings of Outlook is missing on my system
- Custom Web Addin is not shown on a ribbon
- Word Office Javascript API - Format first x chars
Related Questions in EXCEL-WEB-ADDINS
- Office-Js - How do I modify the manifest to add custom tab or custom button?
- Excel adds "@" to SWITCH and creates #NAME error, when first opened. Why?
- How can I add multiple requirements sets to the manifest.xml file for an Office add-in?
- The tab name inside the ribbon that should not be toggled
- Problem In Microsoft Office 365, web add-in Popup not showing on Ribbon Tab Click
- Excel Addin Event API - DoubleClick
- What is the "ExcelApiUndo" requirement set?
- Which Event trigeer while merge/unmerging cell/Row/column in excel officejs
- How to Detect Document Closed With Office Js
- Inspect element tab open in excel add ins using react js
- Is there any way to print the excel sheet using office Js?
- Is there way to bundle 2 different web add-ins into a single suite and publish it as a single product to microsoft app store
- Excel web addin with Office365 E3 developer license
- Show excel contextual tab by default
- Excel Web AddIn Javascript API formula corruption until we manually reload the addin
Related Questions in POWERPOINT-WEB-ADDINS
- Copy PowerPoint shapes using office js to a new slide
- Packaging JS based and VBA based PowerPoint addin into one
- Problem Creating a Textbox on PowerPoint Addin Slide Using JavaScript API
- Is there way to bundle 2 different web add-ins into a single suite and publish it as a single product to microsoft app store
- Office API - This add in could not be started. Close this dialog to ignore the problem or click "Restart" to try again
- PowerPoint: How can we create an Undo entry for the actions performed on shapes?
- Side loading powerpoint add-in with manifest.xml file on mac
- Can React apps be embedded into a PowerPoint?
- Excel to PowerPoint using Office Javascript API
- Set PowerPoint grid spacing using JS API
- Pass element value from taskpane to PowerPoint dialog box
- PowerPoint Office JS Task Pane Addin functionality to copy and paste shape
- Where to best store shapes and slides to be used in Office JS Task Pane Addin
- PowerPoint Add-In add html iFrame to slide
- Is it possible to create a new PowerPoint presentation using office-js in the same window?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The Office JavaScript API doesn't provide anything for that. Office web add-ins work for the currently opened document/presentation only and run in the browser sandbox where you can't perform IO operations with local files except the sandbox. Instead, you may consider making a web API call where you could use the Open XML SDK for editing files on the server side. Also you may find the following articles helpful:
You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.