Questions tagged [onenote]

OneNote is a free (gratis, not libre) cross-platform note-taking application. An API exists allowing developers to create apps which allow users to create OneNote notes in their own notebooks. Users can use the free application on Windows, Mac OS X, Windows Phone, iOS, Android, and the web. It gathers users' notes (handwritten or typed), drawings, screen clippings, and audio commentaries.

Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

Moving emails from outlook to onenote programmatically

I have some vba code to move all emails from an outlook 2016 folder to OneNote 2016, which runs without errors, but it effectively does nothing. I'm not sure what is wrong. OneNote is set to ...
Ooidal's user avatar
  • 1
0 votes
0 answers
14 views

pywinauto Application module conflicts with mouse library

I am working on an application to export OneNote Tables intro excel format. Code is pretty basic, just clicking in certain spots. However, if I load pywinauto library, my positions become shifted with ...
MariusMihai92's user avatar
0 votes
0 answers
6 views

error: The multi-part payload was malformed

~~~~ Endpoint: POST https://graph.microsoft.com/v1.0/me/onenote/sections/{section-id}/pages ~~~~ Request Header: Key:Content-Type Value:multipart/form-data; boundary=MyAppPartBoundary ~~~ Request Body:...
vishwa's user avatar
  • 1
0 votes
0 answers
4 views

The multi-part payload was malformed

Endpoint: POST https://graph.microsoft.com/v1.0/me/onenote/sections/{section-id}/pages Request header: key:Content-Type value:multipart/form-data; boundary=MyAppPartBoundary Request Body: --...
Vishwadharshini V's user avatar
0 votes
0 answers
29 views

Automation error/Library not registered in VBA New OneNote.Application

Using OneNote 16 and I am trying to open Onenote Through VBA However getting an error - Automation error/Library not registered. Microsoft Onenote 15.0 library has already been selected. I am trying ...
Ravi Prakash's user avatar
0 votes
0 answers
32 views

onenote problem for lastModifiedDateTime property

I am working on onenote page API and extract data from onenote page content. Currently, we have a condition to check recently updated (30 minutes ago) pages based on lastModifiedDateTime and retrieve ...
Manzurul Hoque Rumi's user avatar
1 vote
0 answers
28 views

Cannot specify page name when creating a new page using OneNote interop in C#

I am creating a OneNote add-in using OneNote interop in C#. I want to create a page with a specific name, but I'm not able to do so. I used Application.GetHierarchy to get the XML for my notebooks, ...
Adel M.'s user avatar
  • 337
0 votes
0 answers
22 views

Onenote graph API bug in programmatically updated task

I am using OneNote graph API to update a task using golang. Below is my approach: After that whatever I try to create like a new task or anything, this same data-id is added to the new tasks or ...
Manzurul Hoque Rumi's user avatar
0 votes
0 answers
56 views

Using Graph API to create a notebook in a SharePoint site, can I specify the document library?

Following the Graph API documentation for creating a OneNote notebook here, I can readily create a new notebook in a SharePoint site. But I have no control of where in that site the notebook is ...
Snixtor's user avatar
  • 4,247
0 votes
0 answers
114 views

Microsoft Graph OneNote API returns 504 Gateway Timeout error when requesting sections

I have an application for OneNote users. Some users are receiving a "504 Gateway Timeout" error when requesting sections from notebook: /notebooks/{ID}/sections. Request/response example: ...
Anatoliy Skuratov's user avatar
0 votes
1 answer
74 views

C#: How to keep the global variable not changed when passed to a function?

I am developing an add-in for OneNote. In the sinppet below, a global variable AllPageXML is claimed first. Then the very first time when a window is loaded, AllPageXML is initinized with a value. ...
Valuex's user avatar
  • 104
0 votes
1 answer
28 views

How to create a one note in a sharepoint document center

I have a user manual within a section of a one note notebook associated with my organization account and I need to share it with the rest of the organization. I see that from one note I can only share ...
kintela's user avatar
  • 1,293
0 votes
0 answers
60 views

microsoft graph api onenote copy pages no longer working?

Until beginning of April I was able to copy OneNote pages from one certain section of a notebook to another section of another notebook without problems. Suddenly just the copy function ceased working....
Oakley's user avatar
  • 3
0 votes
2 answers
238 views

C# Adding a file (pdf,word, ect..) to a onenote page as Attach File

I am trying to make sort of a outlook "send to onenote" plugin (as a drag and drop) in my .net 6.0 c# app. i am as far that the entire body of the email (dragged from a listview that reads ...
Dimitry Okken's user avatar
1 vote
0 answers
70 views

Need to parse onenote content using nodejs

I have onenote file and I want to parse contents using nodejs. I tried to use Microsoft graph API but there no way it provided to locate our onenote file. it uses onenote.run api when I try to use in ...
Aswath's user avatar
  • 11
0 votes
0 answers
30 views

How does OneNote store line height in HTML? How can I set it?

I'm trying to create OneNote-pages via Graph API with some formatting. One of it is line height. And I can't get line height to work, so I tried reading the html-code: <html lang="de-DE"&...
ABär's user avatar
  • 1
0 votes
0 answers
46 views

How to open a OneNote file with a button click unity

I'm doing a game in unity (C#) and I want that with a button click it will open OneNote file. I was looking on a lot of codes and nothing was working. at first I was trying to open them with ...
נועה כהן's user avatar
0 votes
0 answers
23 views

page.analyzePage() has value property as null

Trying to retrieve html of a onenote page through Onenote Javascript api inside Onenote add in but not able to. Here's a code snippet: await OneNote.run(async (context) => { const page = ...
user21286858's user avatar
0 votes
1 answer
111 views

onenote 2016 - Change pen color using numberpad

I found a couple scripts online that change to one color and tried to add multiple numbers to allow them to change the color. I want to eb able to use an external keypad to change to a specific color ...
JS1025's user avatar
  • 1
0 votes
0 answers
143 views

Reading data from OneNote table to Excel using VBA

I am trying to construct an Excel sheet that is able to automatically read and summarize key work information from several OneNote files using VBA. Currently I am trying to check for a string ('...
User123's user avatar
  • 11
0 votes
1 answer
378 views

Automatically export a OneNote section to PDF

I have a .one OneNote section file that I would like to automatically export to PDF at regular intervals. In Powershell 7, I discovered this command: Start-Process "C:\path\to\ONENOTE.EXE" -...
llf's user avatar
  • 610
0 votes
0 answers
152 views

How to sync Outlook Calendar with OneNote?

I found VBA code to sync my Outlook calendar with OneNote. On line 7, I get User-defined type not defined. I have One Note 15 and Outlook 16 selected in references. Sub SyncCalendarWithOneNote() ...
Joel R's user avatar
  • 1
-1 votes
1 answer
397 views

Clicking any where in the OneNote, Taking the cursor to the top

Not Sure what happened after the new update in mac, Whenever i'm clicking anywhere out of the page in oneNote and clicking anywhere, it's taking the cursor on the very top left corner. It's very ...
Arpan Saini's user avatar
  • 4,769
0 votes
1 answer
118 views

Update specific task of page in OneNote using API

I am working on OneNote API where I want to update a specific task. But I didn't find any way/API to do that. Here is what I go to so far using graph API I need to update/replace the whole div which ...
Manzurul Hoque Rumi's user avatar
0 votes
1 answer
228 views

Download Office365 onenote file

I'm not able to export Office365 OneNote files from the Onenote site, I didn't find any option to export the file. Please help to export the Onenote file and import it into another environment.
Anand's user avatar
  • 3
-1 votes
1 answer
222 views

How to sync read-only oneNote notebook from mac which was originally shared by another user (the another user doesn't exist now)

I've a Notebook in mac (Microsoft OneNote for Mac version: 16.16.27 (201012)). This notebook was originally shared by another user. I had synced it to the mac few years back. Now that user doesn't ...
Hitesh's user avatar
  • 121
0 votes
1 answer
95 views

MS Graph recent file api return different name for OneNote file

https://graph.microsoft.com/v1.0/me/drive/microsoft.graph.recent Above Microsoft graph api is used to get recent files. However if I create new OneNote file with specific name, this recent api ...
DevÁsith's user avatar
  • 1,097
1 vote
1 answer
378 views

Replace String in a Binary Clipboard Dump from OneNote

I'm using an AHK script to dump the current clipboard contents to a file (which contains a copy of a part of Microsoft OneNote page to a file). I would like to modify this binary file to search for a ...
Ahmed's user avatar
  • 267
1 vote
0 answers
237 views

Link in OneNote: from Desktop version to App version

Is it possible to create a shortcut in OneNote Desktop to open a Note in "OneNote for Windows 10" App? By inserting the usual shortcut it opens the Block in the Desktop version, but I would ...
Andrea's user avatar
  • 23
0 votes
1 answer
73 views

How can I stop MS Graph from wrapping <br /> tags inside a <p>?

I am trying to create a simple OneNote page with line breaks between paras. When I read from the ON Graph API, the structure is like this: <p style="margin-top:0pt;margin-bottom:0pt"> ...
Freewalker's user avatar
  • 6,587
0 votes
1 answer
729 views

Get content from several Pages and Sections from OneNote to Excel

I am very new to all of this so please bare with me. I have a OneNote Notebook with several Sections each containing hundreds of pages. I need to retrieve all the content of the pages (while keeping ...
thomast's user avatar
  • 23
0 votes
1 answer
167 views

MS Graph API Onenote page create/update request size limit

According to the first item of limitations we can't upload files bigger than 4 Mb to OneNote page via create or update page request (using multipart request). But using UI we can upload such or even ...
Foat Sharafutdinov's user avatar
0 votes
0 answers
1k views

How can I get acess token with msal in my python script

I'm trying to download OneNote notebooks using python, and then automating the workflows with github actions. I've already tried with onenote export repository, however I found out that I can't ...
GwiHwan Go's user avatar
-1 votes
1 answer
324 views

OneNote desktop add-in - where to start?

i've spent the last week or so trying to start developing an add-in for the desktop version of microsoft OneNote, but all i've been able to find in terms of documentation are add-ins that seem to run ...
Amory Acosta's user avatar
0 votes
0 answers
462 views

Use OneNote Template when creating a Teams Template

OK, try to follow me... My goal is to be able to create teams based on a template and using a OneNote template. This template has 3 (custom) channels and a OneNote Notebook...each of the channels has ...
LosoTheCreator's user avatar
0 votes
2 answers
676 views

Simulate horizontal scroll in Windows with python

as the title says, I'm looking for a way to simulate horizontal scrolling (specifically in OneNote). I know it is possible to do it in AutoHotKey with a script, but I'm trying to keep the program as ...
Bjarke Lund's user avatar
0 votes
0 answers
2k views

Power Automate Update Page Content in OneNote

I have a table on a page in a OneNote section that I'd like to replace with data from excel. I'm trying to do this via Power Automate's OneNote action "Update page content (Preview). The table ...
Bryan C's user avatar
0 votes
0 answers
50 views

How to load a OneNote add-in published to Azure Storage

I have made a OneNote add-in, as specified here. All local tests were successful. This project is a prototype for the development of a proprietary OneNote add-in for a client. Hence the add-in will ...
Minasie Shibeshi's user avatar
1 vote
0 answers
1k views

How to replicate OneNote tree structure or collapse/expand hierarchy functionality in Google Docs?

I have researched this multiple times over the past few years (since I started using and loving/hating OneNote). I believe the short answer, at the moment, is that it is "not possible" but ...
John C's user avatar
  • 11
0 votes
1 answer
154 views

Microsoft Graph API - OneNote - Adding Line Height

I can add line height in the OneNote app, but when I download the page's HTML via the API, I don't see any HTML that would indicate the line height is set. For example - take this page... OneNote page ...
BitPantry's user avatar
0 votes
1 answer
215 views

Microsoft OneNote Graph API page creation with background

I am using the Microsoft one-note graph API for creating pages according to their demand in HTML. Is there any possibility to create a page with a background image? Because I would like to use it as ...
Oakley's user avatar
  • 3
1 vote
1 answer
363 views

How to close OneNote cleanly when a C# interop console app is closed

I am relatively new to C# and Visual Studio, and I am completely new to Microsoft.Office.Interop.OneNote. I have begun work on a console app using as a starting place the code in this answer, which is ...
Erica Ackerman's user avatar
0 votes
1 answer
747 views

Wacom Tablet ShortCuts Key - Create Keystroke similar to Wacom's Tablet->Erase shortcut

In particular, I'm interested to make a Keystroke shortcut such that is works similarly as the pen's Tablet -> Eraser shortcut key, except for OneNote's Panning Hand. That is to say, the Panning ...
M.Caeben's user avatar
0 votes
0 answers
111 views

Onenote vba copy a page like copy/move

I would like instruction to copy page like right click on page and move/copy
Chris's user avatar
  • 1
0 votes
1 answer
141 views

OneNote local backup

I am looking for an automation with Microsoft Power Automate or other tool, which automatically creates a local backup of a OneNote Notebook or of the Onedrive folder in which the OneNote notebook is ...
gilles's user avatar
  • 1
0 votes
1 answer
349 views

Create OneNote notebook in document library (other than OneDrive) using graph api

I have created another document library in my personal sharepoint site. When I run the GET /me/drives/ It shows both OneDrive and my created document library. Since I can create OneNote Notebook in ...
Sanket Bhurke's user avatar
0 votes
1 answer
237 views

Powershell : Object within Object - extract Property values (and export to CSV) - OneNoteUtilitiesGraph

Still fairly new to PowerShell and trying to get a list of all my OneNote pages within a given Section and Notebook...and into a CSV. I'm nearly there, but the final bits are eluding me. I've tried a ...
dwids's user avatar
  • 67
0 votes
1 answer
583 views

Way to get detailed listing of all Pages properties in OneNote?

I have the latest OneNote on Windows 10. I'm trying to create a list of all my Pages in all the Notebooks. One line per Page, showing it's Name, Section and Notebook plus created date. As it's for ...
dwids's user avatar
  • 67
0 votes
0 answers
308 views

How should I start to develop OneNote COM add-in with Visual Studio 2015

I want to develop a OneNote markdown add-in, but I don't know how to use Visual Studio 2015 to develop OneNote add-in. I search on google and only found Microsoft OneNote API document, however it ...
Wilson Edwards's user avatar
0 votes
1 answer
247 views

Graph API returns mimeType of OneNote files FOLDER

I'm trying to fetch SharePoint files/folders using POST v1.0/search/query & I could see mimeType of some OneNote files are returned as Folder. Unable to figure out the root cause for this behavior....
WSI Appfactory's user avatar

1
2 3 4 5
12