Questions tagged [onenote-api]

The OneNote API is used to interact with Microsoft OneNote programmatically.

329 questions
0
votes
1 answer

Unable to login to OneNote API - login.live.com script refused execution

My webapp which logs in to my OneNote/OneDrive account via OAuth and the OneNote API has suddenly met a refusal from Chrome Stable 55 (same problem in Chrome Canary 58) (under Windows 10) with the following response in the console: Refused to…
Velojet
  • 878
  • 11
  • 18
0
votes
2 answers

Office JS API for OneNote - Missing APIs?

Office JS API for OneNote... Love it, but I am missing some critical things. Can someone comment? I got a paragraph, type is RichText. But, I could not find in the API the style of the rich text. In my case, I want to know if it is a Header 1,2,3...…
Shai Petel
  • 188
  • 11
0
votes
1 answer

OneNote 2016: How to: selected text in a page & subscribe to the onClick event

I want to implement a COM OneNote Add-In (for OneNote Desktop) with the following functionality: User selects some text and then clicks the FORMAT button exposed by the add-in: the add-in will format the selected text in some specific way (e.g.…
Nicolae Daian
  • 1,065
  • 3
  • 18
  • 39
0
votes
1 answer

OneNote 2016 Add-in won't load. How to debug? More updated sample?

I am trying to implement a OneNote Add-In and was surprised at the lack of Microsoft support. I am using Office Pro 2016. I found after hours of googling…
Nicolae Daian
  • 1,065
  • 3
  • 18
  • 39
0
votes
1 answer

Can the OneNote API copy a notebook or section from one user to another user in Office 365

I'm trying to copy section of a notebook, or even notebook itself, from a notebook in one user's OneDrive to another user's notebook in their OneDrive. The user I'm logged in as has permissions to read and write both notebooks. I'm getting the error…
Richard Willis
  • 986
  • 8
  • 15
0
votes
0 answers

Inconsistent behaviour with pages created with onenote-api - fixed with OneNote update

Looking for some help please from the onenote team! I have a page generated by the onenote api that could be opened by the previous version of onenote for mac, ios and android but now fails (most other pages generated by the onenote-api work fine).…
codeye
  • 607
  • 3
  • 10
0
votes
0 answers

Merge cells and content in Excel

I have a table in OneNote 2013 with 200 rows and 8 columns. The data looks something like this: I have been tasked with transfering it to Excel. However, a simple copy and paste yields: Is there a way that I might be able to make it look more like…
Chris Hagmann
  • 1,086
  • 8
  • 14
0
votes
1 answer

OneNote Add in: TableCell contents

The documentation for OneNote add-ins shows us how to get a table cell. In the code snippet below (minor modifications from the documentation's example), I load a table cell at position [0,0]. However, once I get the TableCell it is unclear on how I…
Diode Dan
  • 4,801
  • 6
  • 25
  • 34
0
votes
1 answer

Is copyToSection supported for consumer notebooks

From the documentation, it looks like CopyToSection may not be supported for consumer notebooks, but it looks like some other copy APIs are. To be sure, I decided to try it. When I do a call like: POST…
Igor Dvorkin
  • 827
  • 1
  • 8
  • 18
0
votes
1 answer

Deploy OneNote Add-in for organization

I've built OneNote add-in and it works well from my local. But there is an error when I try to upload manifest xml file to my organisation from Office admin. It doesn't give any reasons. It seems the upload dialog saying they only support Word,…
dongseok0
  • 737
  • 2
  • 7
  • 18
0
votes
1 answer

Onenote API response received with invalid grant error for a random user

URL to get new access token using refresh token: https://login.live.com/oauth20_token.srf?grant_type=refresh_token&' \ 'client_id=%s&' \ 'client_secret=%s&'\ 'refresh_token=%s&' \ 'redirect_uri=%s when we try to retrieve new access token for a…
keshav
  • 734
  • 6
  • 19
0
votes
3 answers

Delete page's content with Onenote Rest API

I haven't found a way to delete items from a page's content with the onennote API. Let's say my page's content is
lvr123
  • 524
  • 6
  • 24
0
votes
1 answer

Is there a way to move pages with the onenote API?

I am trying to reorganise a large onenote file imported from Evernote. Because of the very different ways the two programs handle tags, the import ended up a conceptual mess. So now I would like to find and select all the notes (around 2,000) which…
Andrew Brown
  • 103
  • 5
0
votes
1 answer

Search/Filter OneNote content gives error "OData Syntax error"

I want to search data-tag="to-do" across several pages in OneNote API. I am using the following code with Access toke in headers through curl -- $url = "https://www.onenote.com/api/v1.0/me/notes"; $url .=…
0
votes
2 answers

Can we search or filter " data-tag='to-do' " in onenote API ? If yes then how we can do this?

How can we use OneNote tags (like data-tag='to-do') with search or filter in OneNote API. I tried using provide operators but found no success. I tried in this way -- $url = "https://www.onenote.com/api/v1.0/me/notes"; //$url .=…