Onenote Full



  • OneNote - Full Config Transfer to new machine. Archived Forums. I use OneNote 2010 extensively and have added many autocorrections, configured ribbon, quick.
  • 1 - I need a standalone self contained full installer for OneNote 2016. Where to get it. On OneNote.com it is a web-stub installer. 2 - Should I use OneNote 2016 x86 or x64 when system is x64 and older office 2010 is x86. 3 - can only OneNote 2016 be installed side by side with office 2010 including OneNote 2010 on a machine.

OneNote was previously excluded from Office 2019 installations. As of March 2020, the OneNote desktop app is once again installed alongside the Word, PowerPoint, and Excel desktop apps. If you need to install or reinstall the OneNote desktop app (formerly called “OneNote 2016”), do the following: Download OneNote. In OneNote for Windows 10, you can share an entire notebook with other people and allow each invited notebook participant to view or fully edit your notes. If your notebook is stored in your personal OneDrive account, you can also share a static snapshot of any single page of notes. Share an entire notebook.

-->

Applies to Consumer notebooks on OneDrive | Enterprise notebooks on Microsoft 365

Onenote Full

You can use img, object, and iframe elements to add images, videos, and files to a OneNote page when you're creating or updating the page.

  • Use img to render an image on the page.
  • Use iframe to embed a video on the page.
  • Use object to add a file attachment to the page.

Adding images

Images can be added by URL reference or by sending raw data. Microsoft Graph supports the following methods of adding images, logos, and photos to OneNote pages.

Use img with src='https://image-url' and specify the URL of a publicly accessible image. Renders the image on the OneNote page.

Use img with src='name:image-block-name' and send the image file in a data part of a multipart request. Renders the image on the OneNote page.

Use img with data-render-src='https://webpage-url' and specify the URL of a webpage. Renders a snapshot of the whole webpage on the OneNote page.

Use img with data-render-src='name:html-block-name' and send HTML in the data part of a multipart request. Renders the HTML as an image on the OneNote page.

Use <img /> and send the PDF file in the data part of a multipart request. Renders each PDF page as a separate image on the OneNote page.

Use object with data='name:file-block-name' type='media-type' and send an image file in the data part of a multipart request. Adds a file attachment to the OneNote page and displays a file icon.

Note:To get images on a OneNote page, first send a GET request for the page content. This returns the URLs to the image resources on the page. You then separate GET requests to the image resources.

Image attributes

An img element can optionally include alt, height, and width attributes, and the style attributes max-width and max-height.

Image media types

Microsoft Graph supports TIFF, PNG, GIF, JPEG, and BMP image types. To capture an image that uses a different format that you don't want to convert, send the binary data in a multipart request. You don't need to use Base64 or otherwise encode the binary data that you send.

Note:The API detects the original input image type, and returns it as the data-fullres-src-type attribute in the output HTML. The API also returns the image type of the optimized image in data-src-type.

See limitations that apply when creating pages that contain media.

Add a public image from the web

Onenote

In the input HTML of your request, include <img src='https://...' /> and specify the URL of a publicly accessible image for the src attribute.

Add an image using binary data

In the input HTML of your request's Presentation part, include <img src='name:part-name' />, where part-name is the unique identifier for the data part in your multipart request that contains the binary image data. Just send the binary data, don't use Base64 or otherwise encode it.

Add a webpage snapshot

You can use Microsoft Graph to snapshot entire webpages and insert them into new pages. This method is useful to archive webpages or capture complex webpages that have features that OneNote doesn't support (like some CSS).

In the input HTML of your request, include <img src='https://...' /> and specify the URL of the webpage you want to insert for the src attribute.

Add an image rendered from HTML

When you pass the HTML as a />, where part-name is the unique identifier for the data part in your multipart request that contains the HTML.

Add an image file as an attachment

In the input HTML of your request's Presentation part, include <object data='name:part-name' type='media-type/media-subtype' />, where part-name is the unique identifier for the data part in your multipart request that contains the binary image data. Just send the binary data, don't use Base64 or otherwise encode it.

Learn more about file media types.

Adding videos

You can embed videos in OneNote pages using <iframe /> in the input HTML.

Supported video sites

  • Dailymotion
  • Office Mix
  • Sway
  • Sketchfab
  • TED
  • YouTube
  • Vimeo
  • Vine

iframe attributes

data-original-src

Required. The URL of the video.

Example: data-original-src='https://www.youtube.com/watch?v=3Ztr44aKmQ8'

width

Optional. The width of the iframe that contains the video. Default is 480.

Example: width='300'

height

Optional. The height of the iframe that contains the video. Default is 360.

Example: height='300'

Example

In the input HTML of your request, include <iframe /> and specify the URL of the video for the data-original-src attribute.

Adding files

You can add file attachments to OneNote pages using an object element in the input HTML. If you're adding a PDF file, you can use an img element to render the PDF pages as images.

Use <object .../> and send the file in a data part of a multipart request. Adds a file attachment that displays a file icon on the OneNote page.

Use <img /> and send a PDF file in the data part of a multipart request. Renders each PDF page as a separate image on the OneNote page.

File attributes

The object element requires the following attributes.

data-attachment

The file name and extension to display on the OneNote page.

Example: data-attachment='filename.docx'

data

The name of the body part in the multipart request that contains the binary file data. Microsoft Graph does not support passing a URL reference here.

Example: data='name:part-name'

type

Onenote Full Screen

The file media type, used to determine the file icon to use on the page, and which application starts when the user activates the file on the device from OneNote.

Example: type='application/pdf'

Full

File media types

Microsoft Graph uses predefined file-types icon for attached files, or a generic icon when the API doesn't recognize the file type. The following table shows some common file types that are recognized by the API.

  • application/pdf
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document
  • application/vnd.openxmlformats-officedocument.presentationml.presentation
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  • image/png
  • image/jpeg
  • image/gif
  • audio/wav
  • video/mp4
  • application/msword
  • application/mspowerpoint
  • application/excel

See limitations that apply when creating pages that contain media.

Add a file attachment

In the input HTML of your request's Presentation part, include <object data='name:part-name' type='media-type/media-subtype' />, where part-name is the unique identifier for the data part in your multipart request that contains the binary file data. Just send the binary data, don't use Base64 or otherwise encode it.

Add images of PDF file contents

In the input HTML of your request's Presentation part, include <img ... />, where part-name is the unique identifier for the data part in your multipart request that contains the binary file data. Just send the binary data, don't use Base64 or otherwise encode it.

Size limitations for POST pages requests

Onenote FullOnenote full page view

When sending image and file data, be aware of these limitations:

  • The Microsoft Graph REST API has a 4 MB request limit. Anything above this will fail with the error message 'request too large (413)'.

  • The request limit of the underlying OneNote REST API is higher, but you cannot access it via the Microsoft Graph API.

    • The total POST size limit is ~70 MB, including images, files, and other data. The actual limit is affected by downstream encoding, so there's no fixed byte-count limit. Requests that exceed the limit might produce unreliable results.
    • The limit for each data part is 25 MB, including the part headers. Data parts that exceed the limit are rejected by Microsoft Graph.
  • The maximum number of images per page is 150. When using the src='https://...' attribute, the API ignores img tags beyond the limit.

  • The maximum number of data parts is 6 per POST, including the required Presentation part.

  • Each request can contain up to five img elements that use data-render-src and one object elements that uses data-render-src. Additional image and file references are ignored.

  • The maximum number of images in a single POST is 30, no matter which method you use to send them to the API. Additional images are ignored. If you want to capture a webpage that contains a lot of images, consider capturing the whole page as a snapshot.

When to use HTML versuss just not the same.
  • Snapshot-in-time for historical or archival purposes is usually best done with the data-render-src method.

  • Marking-up a web page design for revisions is one place the data-render-src truly shines. Using OneNote's inking capabilities, you can draw on the image to indicate changes or call out important areas. Having the web page as an image makes that a lot easier.

  • Very large images, or images in formats that OneNote doesn't directly accept, can sometimes be thumbnailed and converted with the data-render-src attribute more easily than by doing it in your own code. Even if the image is also available online, embedding the data in your POST can sometimes make the captured page available to OneNote users sooner, by reducing the total number of round-trips needed to build the OneNote page.

  • Sometimes, the best way to determine which method will work best for your users is to try it both ways as you develop your app.

    Permissions

    To create or update OneNote pages, you'll need to request appropriate permissions. Choose the lowest level that your app needs to do its work.

    Permissions for POST pages

    Onenote Full Screen

    • Notes.Create
    • Notes.ReadWrite
    • Notes.ReadWrite.All

    Onenote Full Page

    Permissions for PATCH pages

    • Notes.ReadWrite
    • Notes.ReadWrite.All

    For more information about permission scopes and how they work, see OneNote permission scopes.

    Onenote Full Version Download

    See also