• Engineering OneNote Blog

    OneNote 2013 COM API XML Schema - OneNote 2013 XSD


    Omer wanted to make sure we uploaded the OneNote 2013 COM API XML Schema so customers could get it if you are programming against the OneNote 2013 API.  You can get it here: OneNoteApplication_2013_xsd.  It will download as a text file so please just rename it as an .xsd and then you can view it in your XML viewer of choice.

    For earlier versions you can see here: OneNote 2010 XML Schema & OneNote 2007 XML Schema.  Take care and happy programming! 

  • Engineering OneNote Blog

    OneNote sunset…


    I was walking back to my office this evening and I saw this & I wanted to share it with everyone:



    Some testers on the team put up a bunch of Post-it notes across the windows which spells OneNote.  From the street you can see where different teams are (OneNote, Word, Excel, etc), it is fun tradition we all have. 

    Anyhow I just saw this and liked it…reminds me of how Manhattan has Manhattanhenge, I wonder if we will see this shadow throughout the year. 

  • Engineering OneNote Blog

    OneNote for iPad & iPhone connecting to SharePoint, Office 365 & SkyDrive Pro


    I have seen a few people comment about connecting to SharePoint notebooks in OneNote for iPad & iPhone (iOS).  The app fully supports on-prem SharePoint 2010 & higher, Office 365 notebooks and SkyDrive Pro notebooks and I wanted to spend sometime explaining how you can get those notebooks open in OneNote.  Now you need to make sure that you have a connection to your server and for on-prem that means you would need to VPN first.  Additionally if you have some complex form of auth on your server then this might not work with the mobile client put in a comment below if you are facing issues!


    OneNote hyperlinks - just click on the link

    People often will send links to notebooks & content in notebook with a OneNote hyperlink (onenote:) which will call OneNote and then it will open your notebook.  This is how you do this:

    1. Go to OneNote
    2. Right-click on the notebook and choose copy hyperlink to this notebook
    3. Paste this into an email to yourself  or paste it into a notebook which you have open in OneNote on your device
    4. Go to your device to where you had that hyperlink
    5. Tap on the hyperlink (make sure it isn't the web link)
    6. OneNote will open and then maybe ask you for a password
    7. Notebook should open just fine

    This is the preferred way and I think the easiest so if you can send yourself a hyperlink I highly suggest that you do this.


    iPad: Opening from OneNote

    If you are running OneNote on and iPad you can also open a notebook directly from SharePoint by adding your SharePoint to OneNote, just follow these steps:

    1. Open OneNote
    2. Tap on the back arrow in the top left
    3. Tap on Open
    4. Tap on Add a Place
    5. Then choose SharePoint URL and type the name of your SharePoint site and subsite if you know it.
    6. Enter your username & password
    7. Then your SharePoint sites will show up under a SharePoint place, and then you can navigate through the site to find your notebook


    Opening from Office Mobile for iPhone

    If you are on an iPhone and an Office 365 subscriber you can navigate to your SharePoint site from there and tap on a notebook to launch OneNote.


    Opening directly from SharePoint/Office 365

    If you are running SharePoint 2013 or higher you can navigate to the SharePoint site in the browser and from the mobile site you can directly click on the notebook and it will launch OneNote.

    If you are on an iPad you can go into the OneNote Web App and click on "Open in OneNote" and it will launch OneNote, note that this requires the most recent version of the web apps and I believe this is only available on Office 365 at the current time. 

    If you are on SharePoint 2010 you would not be able to do this : (

  • Engineering OneNote Blog

    Updated OneNote for iPad, iPhone & Android!


    ON15 LogoMonday was a great day and we shipped a bunch of new clients out there to the world Smile  It was really awesome to get them out the door and also get your feedback, we are digging through all of the app store feedback, tweets and blog comments, really great stuff so please keep it coming!


    Here is a cool launch video I worked on:


    For details on how to get OneNote check out the newly redesigned

  • Engineering OneNote Blog

    Onetastic adds Macros for OneNote


    Those of you following the blog may remember Omer's Onetastic add-in that added many new features to OneNote - if you haven't seen this already, check out our previous post on it.  Omer has now added support for macros, which are a really cool way to automate tasks within OneNote. For instance, you can create a macro which removes all hyperlinks within your notebook, or one that can remove all images above a certain size.  Onetastic also ships with several macros like: 

    • Clean Author Info
    • Clean hyperlinks
    • Increase / Decrease Font Size
    • Search & Replace
    • Search & Highlight
    • Resize Images
    • Select Images
    • Auto-Fill
    • Function 


    Onetastic comes with an editor that lets you create your own macros:  


    Once you've created macros, you can import/export them as XML to share them with other Onetastic users:


     There's even a tutorial to help you get started! Let us know what you think about Onetastic macros in the comments below.

  • Engineering OneNote Blog

    Taking Meeting Notes in OneNote 2013


    This post was authored by Po-Yan Tsang,  Program Manager on the Meetings Team

    One of the most common scenarios for taking notes at work is during meetings - whether it is about tracking attendees, remembering what was discussed or listing out follow up items. However, meetings are often rushed and busy, and we wanted to make it as easy as possible to start taking notes and collaborating with other attendees. 


    Meeting Notes for an Outlook Meeting

    In OneNote 2013, you can start taking notes by going to Home -> Insert -> Meeting Details, which lets you choose from a list of current meetings in Outlook.  This automatically adds details about the meeting to your current page 

    And it’s as easy as that – you now have a page with all the details of your meeting, so you can get right down to taking notes and still have all the context about where the meeting was and who attended the event.

    We’ve also added some extra features to enrich and keep notes relevant: 

    • New Format - the participants list now has checkboxes by default, so you can track attendance
    • Up To Date Meeting Details - if you're you’re the meeting organizer and you make a change to the location or time, your notes will get updated when you send the update from Outlook. If you’re not the organizer, you can right-click on the page tab and select ‘Refresh Meeting Details’ to have it update.


    Meeting Notes for a Lync Online Meeting

    Similar to the Outlook meeting notes experience, you can also take meeting notes from Lync. Once you’ve set everything up, we will automatically update your notes page with:

    1. List of attendees
    2. Any files uploaded to the Lync Meeting
    3. Links to any other notebooks shared within this meeting.


    Sharing Meeting Notes with Others

    Why take notes on your own when you can get everyone to help out? Get others to help make sure you don’t miss an action item or a key decision in your notes. In OneNote 2013, set up a shared note taking space for everyone in the meeting is a snap. 

    Before a Meeting:
    1. In the Outlook meeting request, go to the Meeting Tab -> Meeting Notes -> Share notes with the meeting
    2. Select the notebook page you want to share with the meeting. Remember, this has to be in a shared location like SkyDrive or SharePoint.
    3. Now you can send out the meeting invite, which will have a link to your Outlook meeting


    During a Meeting:
    1. From OneNote, select the page you want to share with the meeting and go to File -> Share -> Share with Meeting
    2. You can choose an existing meeting here or create a new Lync Meeting
    3. Once a meeting is selected, a link to the OneNote page is shared with all the Lync participants



    We believe that taking notes is a significant part of the meeting experience and we've put a lot of thought into improving this experience and making it effortless in OneNote 2013. If you have feedback on any of the updates and additions to these features, please let us know in the comments below.


    Po-Yan Tsang
    Program Manager on the Meetings Team


  • Engineering OneNote Blog

    Sharing in OneNote 2013


    This post was authored by Nicole Steinbok, Senior PM  on OneNote

    I love using OneNote to keep track of stuff that I need to do and have it available on my laptop, iPad, Windows Phone and PCs at work. What I love even more is using OneNote to add to the list of things I want my husband to do in our shared home notebook.

     In Office 2013 we have simplified the sharing experience for OneNote: you can share directly from OneNote 2013, to any email address, your friend doesn't need to sign-in to view it and they don't even need to install OneNote to edit it. You can also get a Sharing Link and share anyway you want to: email, blog, your favorite social network, etc.

     Bonus: this also all works for Word, PowerPoint, Excel, and Visio.


    Sharing a Notebook

     I will pretend I don't have a notebook shared with my husband and show you how easy it is.

    1.Create the notebook on SkyDrive

    File -> New -> Enter a notebook name -> Click Create notebook button


    2.   Share the notebook

    File -> Share -> enter an email address

    Optional: add a message

    Click Share button, SkyDrive will then send a sharing notification email to my husband



    Now I will pretend I am my husband…. (good thing I am typing this and I don't have to lower my voice ;)


    1. Receive a Sharing notification email, click on the notebook link


    2. See the notebook


    3. Get to work on that to do list!

     And that is all you need to know to share a notebook. I have included a FAQ  but if you have more questions or feedback please post them below.



    I have written all my recipes in a notebook and want to share it with all my Facebook friends, how do I do that?

    Easy as pie!

    1. File ->Share -> Get a Link -> Select the type of Sharing Link you want and click the Create Link button.
    2. Right click on the link and Copy it
    3. Go to Facebook and paste it, post it
    4. Watch the likes come in :)


    I have a local notebook, that I would like to get on SkyDrive, how can I do that?

    1. File -> Share
    2. Select a folder for the notebook
    3. Give it a name
    4. Click Move


    Yikes! I shared a notebook with someone and now I don't want them to have access, what do I do?

    1. File -> Share
    2. Right click on the person (or Sharing Link), Remove User

    Note: You know that thing that wipes people's mind in Men in Black? Yeah well we don't have one of those. If the person has opened the notebook we don't close it on them but they will not see any new updates and will not be able to edit your notebook.



    I have another question. How can I ask it?
    Please post it in the comments below. 

    Nicole Steinbok,
    Sr. Program Manager on OneNote

  • Engineering OneNote Blog

    Navigation in OneNote 2013


    This post was authored by Olya Veselova, Senior PM Lead on OneNote

    Organizing and finding content is an important part of your note taking experience, and we've spent a lot of time this release thinking about how to improve navigation in OneNote 2013. We've also been working on making OneNote better for touch based devices, which have an entirely different set of constraints. It's also important for the UI to scale well  for casual and power users - we wanted to make it easy to get around your content whether you have a single notebook or dozens of them.

     As David touched upon in his earlier post, we now have two modes in OneNote:

    • Normal  View, an updated version of the layout from 2010 designed for mouse and keyboard use
    • Full Page View, a completely new style of navigation designed specifically for touch


    Normal View

    Normal View is an updated version of the OneNote layout you've always known - pages are on the right side, sections are on top and a list of notebooks on the left.

    Notebook Dropdown

    In OneNote 2010 the notebooks were shown collapsed in a bar along the left side of the screen , and we realized that there were some shortcomings to that approach: sideways text was harder to read, and the visual layout didn't make the relationship between notebooks and sections entirely clear.  It also wasn't very obvious which notebook was current and the UI didn't scale very well when you had many notebooks.

    The dropdown in Normal View will be the default view for most mouse and keyboard users, and the name of the current notebook is displayed prominently next to your sections, so you're never in doubt about which notebook you're in. To navigate to another notebook, you click on the notebook name which brings up the dropdown. The layout also scales well - if you add several notebooks, the icons will be shrunk so that you'll almost never have to scroll.

    If you have only one notebook, we don't take up the extra space on the side of your screen - this view is good to use if you spend a good amount of time in each of your notebooks, rather than constantly switching between notebooks.  It is also best suited for notebooks of medium size - without section groups or too many sections - such that your most used sections can fit across the top.


    Notebook Pane

    Now, if you're more the power user type and you like to switch between your notebooks frequently, fret not - we've updated the old Notebook pane view from OneNote 2010. You can get to this view by clicking on the pin button in the notebook dropdown (pictured below)

    When you turn on the notebook pane, we display a list of all your open notebooks and highlight the notebook you're looking at. The pane takes up less space, and wraps your notebook names if they are too long.  This view is great for large notebooks with many section groups and sections.

    If you have several sections in your notebook, the bar on top can get filled quite easily and then you have to click twice to get to your section. To make this simpler, the notebook pane also displays a vertical list of sections so that you can get anywhere with a single click.


    Full Page View

    Full Page View is our minimalist, touch friendly mode that you can get to by clicking on the button in the top right corner of any page. Full page view gets rid of both the ribbon and our navigational chrome, and keeps you content in focus. 

    As you can see the layout is very clean, keeping your content front and center while removing all but the most necessary UI elements. The extra whitespace  is really useful for working with wide tables or taking notes next to inserted documents.  It's great for a tablet when you're writing with a stylus, and you won't accidentally go to a different page when your rest your palms on the screen. In fact, if you rotate your tablet to portrait mode, OneNote goes into Full Page View to provide a better experience.

    Notebook Dropdown

    In this mode, you tap the notebook name in the top right corner to bring down your notebook dropdown.  If you're using a slate, this button will be within easy reach of your thumb so that you can jump between pages easily.

    To make our navigation more touch friendly, we brought notebooks, sections and pages into a single 3 column layout. You can tap on a notebook, section or page to preview it instantly in the background and then tap on the page to dismiss the dropdown.  You can also double click or tap or navigate instantly to a particular page,

    You can right click any item in here for context menus and drag and drop to reorganize. There's also a shortcut to the search box, and if you're using a mouse, you can take advantage of our new floating page button to insert a new page exactly where you want it:

    Editing Notes in Full Page View

    You probably also noticed that the ribbon is hidden by default in full page view in addition to our navigation. Users can still edit and interact with content through the context menus, which can be brought up by : 

    • Right clicking with a mouse
    • Selecting and tapping with touch


    The layout changes depending on whether you're using touch (pictured above) or a mouse and keyboard. Of course, You can always bring back the ribbon temporary by clicking the '…'  bar at the top of the screen or you can pin the ribbon to have it always appear. 


    If you have feedback on any of the changes we've made to navigation in OneNote 2013, please let us know in the comments below. 

    Olya Veselova
    Senior PM Lead, OneNote 

  • Engineering OneNote Blog

    OneNote 2013 Overview


    This post was authored by David Rasmussen, Group Program Manager for OneNote

    The past two weeks have been exciting for everyone working on OneNote. We have been designing, developing and testing the OneNote 2013 release for quite some time, and now that we’ve released the Office Customer Preview feedback is flowing in. Thank you.

    In this post I’ll provide a high level overview of the major investments for the OneNote 2013 release wave. In subsequent posts we’ll go into more detail on the feature areas.

    OneNote 2013 Overview

    The areas we invested in are intended to make OneNote a great experience for taking notes on clipped content, particularly on touch tablets with pens, to provide easy access everywhere, and to improve sharing with others. Specifically these investments include:

    1. Clipping content into OneNote to write and annotate on
    2. Improved embedded documents and tables
    3. Touch and pen tablet experience
    4. Sharing, meetings and collaboration
    5. Universal access


    1. Clipping content into OneNote

    Getting content into OneNote from other sources has always been an important part of collecting information and taking notes. Sources include web pages, Word, PowerPoint, Excel, screen clippings and so on. In OneNote 2013 we’ve made this even easier by introducing the OneNote Clipping Tool.

    The OneNote Clipping Tool gives you a single location on the Windows task bar that you can tap with a finger (or click with a mouse) to take a screen clipping; send the current web page to OneNote; or send the current Word, PowerPoint or Excel document to OneNote, so that you can take notes on it; or just take a quick text or ink note. It’s context sensitive depending on what app you have top most.


    2. Improved embedded documents and tables

    The Clipping Tool makes it easier to get content like PowerPoint decks or Word documents into OneNote, but we also wanted to make it a better experience once you’re there. So we’ve improved the experience of taking notes on embedded documents in OneNote in several ways:

    • Multi-page Documents: If the Word document or PowerPoint presentation you’re sending to OneNote is more than 10 pages, OneNote will automatically split it into multiple OneNote sub-pages to make it easier to navigate and take notes.  
    • Auto Zoom: When you’re in full screen mode, OneNote will always zoom the embedded document so that it fits on the screen.
    • Paging Buttons: When you’re viewing an embedded document in full screen mode, OneNote provides paging buttons to go forward or back through the document for easier viewing. The buttons will also re-center and zoom the page, so that you can view your embedded document after taking notes on the side.
    • Improved Rendering: As you zoom and pan around on an embedded Word document or PowerPoint, OneNote re-renders the text quickly so it stays crisp and readable.
    • Embedding Excel and Visio Documents: We’ve added the ability to embed Excel spreadsheets into OneNote pages. You can edit the table in Excel and when you save, the charts and tables on the OneNote page will be updated as well.  For those of you who like to do diagramming, we’ve also added similar support for Visio documents.
    Improved table support: Because it was such a common request we’ve also improved tables in OneNote by adding cell shading, sorting and better selection options. You can even convert a table into an embedded Excel document to create charts or take advantage of some of Excel’s features right inside OneNote.


    3. Touch and pen tablet experience

    Now that you have content in OneNote that you want to take notes on, we wanted to make that a great experience on touch tablets with pens. OneNote has always been designed to take full advantage of pens on tablets. But now that touch is standard on tablets and they are getting thinner and lighter there was an opportunity to improve the experience.

    • Full page mode: OneNote now has a full page button in the corner of the page. You can just tap it and OneNote hides all the UI so you can just focus on your content. This makes it much easier to write with a pen without worrying about accidentally touching parts of the UI with your palm.
    • Drop-down Navigation: When you’re in full page mode, you can tap the notebook name to navigate to another notebook, section or page without exiting the fullscreen mode. It works well with thumbs when you’re holding your tablet in your hands.
    • Touch Pan and Zoom: OneNote automatically defaults to panning and zooming with your fingers, and inking with your pen so you can switch quickly between touch and pen naturally without having to change modes. We’ve also made zooming and panning much smoother.
    • Rotating to portrait flips to full page mode: When people use their tablets to ink, we noticed that they often prefer to do so in portrait orientation, which resembles a typical sheet of paper. So when you rotate your slate, OneNote automatically flips to full page mode and hides all the navigation and chrome to give you all the space you need to write.


    4. Sharing, Meetings and Collaboration

    Beyond personal note-taking, OneNote is also designed to easily share notebooks with others, edit together in real time, and to facilitate collaboration in meetings. We have improved these experiences in the following ways:

    • Easy notebook creation on SkyDrive: When you start OneNote for the first time, we will setup a notebook for you on SkyDrive. We’ve also made the new notebook process very simple – just provide a name and it will be created on SkyDrive for you.
    • Easy Sharing: We’ve focused on making sharing easy by removing hurdles.  There are two simple ways to share a notebook:
      • Invite people with an email address – there are no restrictions on which email address can be used. People who receive notebook invitations do not to have OneNote to view or edit the notebook, they can use OneNote in the browser (for free). 
      • Get a Sharing Link - These links can be used on your blog, Facebook, Twitter or anywhere you can send or post a link.  Anyone with a sharing link can view the notebook without having to sign in.  We also let you disable the sharing links later, in case you decide to make a document private.
    • Real-time Editing: When two or more people are working on the same page, you can now see changes almost instantly. This makes collaboration a delight and is very useful during meetings. This feature is available on Office 365 today and is coming to SkyDrive soon (if you want to check it out now sign up here)
    • Meetings experience with Lync: If you’re using Outlook or Lync for your meetings, you can create meeting notes automatically in OneNote, which will include a list of attendees, meeting details, and relevant documents so that you can get right down to taking notes. Meeting can be created in Outlook, or during the meeting in Lync and attendees can collaborate on these notes in real time.


    5. Everywhere Access

    We repeatedly hear that access to your notes and the ability to take them anywhere is very important, whether you’re at work, home or on the go. Since we released 2010 we’ve been hard at work creating a great OneNote experience for you, no matter where you are:

    • OneNote for Windows 8: We’ve reimagined the OneNote experience for Windows 8 and created an exciting new app codenamed OneNote MX.  Whether you draw, type, click or swipe, this app will shine on your Windows 8 device.  If you are running Windows 8, you can download it from the app store today and try it out.
    • OneNote for Phones: In addition to the desktop version, OneNote now supports Windows Phone, iPhone, iPad, Android and Symbian phones.
    • OneNote in your Browser: The OneNote web app lets you access your notebooks from a browser, without having to install anything. Just click on your notebook from SkyDrive or SharePoint to start editing.


    We’ll write more in future posts to explain each of these areas in more detail. We hope you enjoy OneNote 2013!

    David Rasmussen
    Group Program Manager, OneNote

  • Engineering OneNote Blog

    Sending Feedback about OneNote 2013


    It's been a few days since the Customer Preview was released, and we'd like to thank all our users who downloaded and tried OneNote 2013. If you haven't downloaded the 2013 Preview already, you can get it here today.

    We'd also like to ask you to to send us feedback about OneNote whenever you find something that you like, dislike or want. You can always post in the comments below, or use one of these alternatives:

    Send a Smile

    You can click on the smiley icon in the top right corner of OneNote 2013 to send feedback. If you're using the Windows 8 style app, swipe up from the bottom to get to the feedback button.

    Send us smiles about features that you like or frowns about things that you don't like - our team looks at the feedback quite regularly, and it's super helpful to learn about what you find delightful or annoying.

    Microsoft Answers

    For more detailed questions or issues, reach us through the OneNote forum on Microsoft Answers. Some of our team members check the site regularly and help users with issues, as do many of our MVP's and helpful community members.

    Known issues with OneNote 2013 Preview

    We wanted to send a link to the known issues for Office 2013 Customer Preview, you can check there for known issues, but of course we look forward to your feedback!


    Thank you again for installing the Customer Preview! Stay tuned to the blog, starting next week we will go in-depth into some of the new features that we've added.

  • Engineering OneNote Blog

    OneNote 2013 Preview is now available



    OneNote 2013 was announced earlier today as part of the Office Customer Preview , and we're really excited to show you what the team has been working on for the last two years. Over the next few weeks, Engineering OneNote will explore each of the changes we've made in detail, but for now you can check out What's New in OneNote 2013

    Try OneNote 2013 today

    We'd love to hear what you think of the new OneNote, so please let us know in the comments below. 

  • Engineering OneNote Blog

    OneNote Mobile for Android now available!!


    Yesterday we released OneNote Mobile for Android so we now have OneNote on Windows, web, iPhone, iPad, Symbian and Android.  Pretty awesome stuff because we want to be in your hands, pockets & purses so you can always jot down a note and we will remember it for you.  Get the app here:

    Download it from the Android Market app store today!

    And read about it here: OneNote Mobile for Android is now available worldwide.

  • Engineering OneNote Blog

    OneNote for iPhone updated to 1.3 & native iPad version available!


    I just wanted to write a little note about the updated OneNote for iPhone and the native iPad version which were released on Monday.  We have been listening to all of your feedback and working hard to get an update out there.  You can read about the new version here: OneNote for iOS gets new features, arrives in new markets worldwide.  Thanks for all of your feedback and please keep it coming! 

    Finally happy holidays & happy new year from everyone on the OneNote team to you and your families.

  • Engineering OneNote Blog

    Onetastic PowerToy for OneNote 2010


    Omer Atay, a developer on the OneNote team, has written a set of tools in his spare time called Onetastic. This PowerToy for OneNote 2010 adds three new features:


    • The ability to rotate & flip document printouts like Images
    • A chronological view of your OneNote pages (OneCalendar)
    • A clean-up option for an information bar alert in multi-page printouts


    If you use your notebooks to manage your to-do list or as a repository of miscellaneous thoughts, you'll find OneCalendar extremely useful for looking through your usage history. It's helped me discover more than a couple of tasks that got buried in my extensive Unfiled Notes section.


    You can learn more about the tools on Omer's website, or you can download them from here. If you have any feedback, please let Omer know in the comments below!




  • Engineering OneNote Blog

    “Keep Shopping” commercial for OneNote


    I wanted to share a new commercial which should be airing soon which features OneNote.  It is part of the It’s a great time to be a family campaign:

    Hope you enjoy and if you see it on the air please mention where you saw it!!

  • Engineering OneNote Blog

    OneNote 2010 books coming out soon


    I wanted to pass on details that a couple OneNote books are coming out soon and if you are looking to learn more about OneNote you should check them out.

    First of all is Michael Oldenburg’s book: Using Microsoft OneNote 2010 which is now available for purchase as well as immediate Kindle download (in the US not sure about everywhere else).  You might have seen Michael’s name before because he is man behind the OneNote blog and he has been involved with the OneNote team for years and he is an overall great guy.  What I find most interesting about this book, besides all of the awesome content, is that is comes with over 3 hours of free video.  The video includes step-by-step video tutorials that you can watch and learn about OneNote.  Seems like a great resource, I just downloaded it to my Kindle and I will be flipping through it.  Highly recommend this one:

    Using Microsoft OneNote 2010


    The second book is Microsoft OneNote 2010 Plain & Simple by Peter Weverka.   I didn’t know about this book until the blog post from Microsoft Press.  Based on the table of contents it seems like a pretty good book and also Microsoft Press books are generally quite good.


    If you are looking for a book about OneNote either for yourself, a new student, or to learn more please check out one of these books.

  • Engineering OneNote Blog

    OneNote 2010 XML Schema


    Following up on yesterday's release of the C++ header, we're publishing the OneNote 2010 XSD schema, which should make it easy for you to validate your XML data when reading or writing to the COM API. You can also use it to auto generate classes for native OneNote data structures using Visual Studio , and I've written up a short tutorial on how to do that.

    Generating Classes from XSD Files

    1.) Start an elevated command prompt, and create a new folder called OneNoteClasses in your C drive

     cd C:\

    mkdir OneNoteClasses

    2.) Visual Studio 2010 packs a powerful XSD manipulation tool - xsd.exe, which we will use to generate our classes. Navigate to the bin folder that contains xsd.exe (or add the folder your PATH variable) : 

     cd C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\

    3.) We're going to run the XSD.exe tool with a few parameters - the source XSD file,  a flag that tells it to generate classes for the data types, and an output folder. In this case, I have my xsd file on the C: drive, so I run: 

     xsd.exe C:\OneNote14Schema.xsd /c /out:"C:\OneNoteClasses"

    This should create a C# (.cs) file in your folder which contains all the classes, which is around 5600 lines of code. You can find more documentation about using xsd.exe here.

    Alternatively, you could use Xsd2Code, a plugin for Visual Studio that lets you run the same command from the GUI.

  • Engineering OneNote Blog

    C/C++ Add-Ins for OneNote 2010


    Today, we're releasing the OneNote14 C++ header file which should make it easy for you to build OneNote add-ins. You can find the header file attached to the bottom of this post. Here's a quick example demonstrating how you could use the header file to get XML representation of the OneNote Hierarchy .


    1.)  Open Visual Studio and create a New C++ Win32 Console Application


    2.)  Download the header file, and copy it into your project folder with the C++ source files

    3.) The following sample code, taken from the OneNote12 header post should still work, and output the XML hierarchy data of all open notebooks in your OneNote client. Just paste it into your newly created project and run it:  

    #include "stdafx.h"
    #include "onenote14.h"

    int _tmain(int argc, _TCHAR* argv[])



    IApplication* piOneNote;

    CoCreateInstance(__uuidof(Application), NULL,
    CLSCTX_LOCAL_SERVER, __uuidof(IApplication), (void**)&piOneNote);


    BSTR temp;

    HRESULT hr = piOneNote->GetHierarchy(NULL, hsNotebooks, &temp);

    wprintf(L"%s", temp);



    Here are some other resources that you might find useful: -

    OneNote 2010 Developer Reference

    Tutorial: Creating extensions with the OneNote OM

    OneNote Object Model for C#

  • Engineering OneNote Blog

    OneNote & Python - using OneNote COM API with Python


    I wanted to pass on a few awesome posts by a new team member, Varun Srinivasan, who has been exploring how to use OneNote with Python.  I wanted to share for people who wanted to learn how to connect OneNote with their favourite Python projects:

    Please check it out if you have been trying to get OneNote working with Python.  Great stuff Varun!

  • Engineering OneNote Blog

    Office Casual: How to use OneNote on the go


    I wanted to point out a new video that Doug posted showing OneNote on the go:

    Thanks Doug!

Page 1 of 19 (376 items) 12345»