September, 2006

Search
  • Engineering OneNote Blog

    OneNote Startpage

    • 0 Comments

    I just got an email from Michel who has setup a OneNote startpage: http://onenote.startpagina.nl/

    It has a bunch of great links for OneNote, so please check it out!

  • Engineering OneNote Blog

    OneNote Song on on10.net!

    • 0 Comments

    Remember My One and Only OneNote? Well Duncan Mackenzie just blogged about it on on10.net, see here: A song about Microsoft OneNote.

    Thanks Duncan!

  • Engineering OneNote Blog

    Software for lefties and OneNote

    • 3 Comments

    As my close friends will know I am left-handed and I am always pointing out people who are left-handed (John Stewart, Bill Clinton and Link‽). My friend Justin just sent me an article about how on the new Nintendo Wii it appears that Link changed from being left-handed to right-handed, here is the article: Miyamoto talks Zelda -- Link a lefty no more. That got me thinking about the Wiil and software in general for left-handed people. As many people know in the United States there is a law that says that all software sold to the US Government has to be accessible. Here on the OneNote team and Microsoft in general we work hard to make our software accessible, that is one thing I never learned in university that was a big change when I came to Microsoft.

    I wonder how well the Wii will be for lefties? Will there be a way to switch hands, can the side controller piece work if you are using it with your right hand and your left hand is holding the main controller. I just would like to see what the experience for lefties is and if the console works well for lefties.

    This leads me my first experience using OneNote on a Tablet, when using a regular computer I use it just like everyone else all of my scrollbars on the right and I hold the mouse in my right hand so I am just like the 'normal' user. When I switched my computer into Tablet mode I was holding the pen in my left hand and holding the computer in my right hand. I hated that when I tried to scroll down with the pen that I was always covering up the content of the page. Think about it with my left hand, I would reach across the screen to the scrollbar on the right to move up or down, the same thing would happen when I tried to change pages with the pen. I was upset but then I saw this setting in Tools -->Options:

    <can't upload pictures right now, sorry>

    See in OneNote you have the ability to switch where the page tabs and vertical scroll bar appears, either on the right (by default) or on the left. This is such a great feature for left-handed people. To be honest this was the first time I have seen any software that allows you to do this.

    My next steps would be: If OneNote could get information from the Tablet about which mode the Tablet was in (typing mode or writing mode) that it would autoswitch the scroll bars and settings as you wish.

    Anyone know of other software out there for left-handed people? I would love to hear about it!

  • Engineering OneNote Blog

    Welcome Olya to the blogsphere

    • 1 Comments

    Well it appears that another PM on the OneNote team has begun blogging: Olya Veselova. She says her blog will be about:

    I will try to cover various OneNote how-tos, best practices, and troubleshooters that fall under the general category of "not-obvious-how-to-do-and-I-bet-some-people-are-wondering." So apologies in advance for the apparent lack of theme :).

    Welcome Olya!

  • Engineering OneNote Blog

    How embedded files now work in OneNote B2TR (and will in RTM)

    • 8 Comments

    I saw this on the OneNote public newsgroup and I wanted to share with all of you, it was from David Rasmussen:

    How embedded files now work in OneNote B2TR (and will in RTM)

    I see there have been some interesting threads on embedded files, and apologize for my absence in responding to them. Rather than replying on what became a very deep thread, I thought I'd start a new one with a clear explanation of how things work.

    1.    As of B2TR "inserted files" (aka embedded files) are actually stored within the .one section files. That is, when you insert a file on a page in OneNote, it gets stored in the relevant section file in your notebook folders. You no longer will see "thicket" folders (xx_onfiles) alongside the seciton file, they are not used anymore.

    2.    We made this change for a number of reasons, but mainly because lots of other replication systems underneath us (e.g. Windows Offline Files caching, Folder Share, Groove, other sync tools you might use) could do some pretty nasty things to us when they are moving/copying/renaming the section files separately from the embedded files in the folder. That might even result in loss of those files for the user. That would be bad, we take data integrity very seriously so we decided to be more robust when co-existing with these tools. Second, users could get themselves in a mess (e.g. move the .one section files but not the thicket folder with it etc.). That would also be bad, could result in data loss etc.

    3.    There is an exception to the above change. When we are syncing to a notebook on SharePoint we still leave the embedded files in separate "thicket" folders alongside the section file. This is for performance reasons because we have to send whole files on SharePoint when making updates, we can't just selectively update some bits within the file. So big files are expensive. Also, the sync/replication systems mentioned above (Windows Offline Files, Folder Share, Groove etc.) don't generally operate on SharePoint document libraries, so that problem doesn't exist there.

    4.    So the definitive repository of your embedded files is in the .one section files along with your notebooks. Just like all notebook data, we do replicate them down to our cache for a whole bunch of reasons discussed in earlier threads (performance, offline availability, etc.). In our cache, for performance reasons we store them as separate files still (the way we store things in our cache vs user files is completely separable and we have different performance / architecture considerations for each). This in no way means that this is the only or definitive place where these files are stored (i.e. it's just a cached copy for our operational needs).

    5.    Our cache is a "garbage collected" store. In simple terms, this means that when you delete something or close a notebook, it won't disappear from there immediately. When we've accumulated a certain % of no longer in use stuff, and the machine is not busy we come along later and clean things up, remove things that are no longer referenced etc. You can always force this operation at anytime by choosing the "Optimize All Files Now" button in the Tools->Options->Save tab. You will note when you do this that it can take some time, that's why we don't do these operations immediately everytime you delete/close something. The garbage collected store results in much better performance for the user.

    6.    I STRONGLY recommend you ignore the cache folder in the system "Local Settings" directory and certainly don't go messing with it and messing around with files in there. That's probably not going to lead to a happy result for you. If your notebooks are fully in sync and you're a super power user, and you want to rebuild the cache, yes that can be done (basically delete ALL the files there including the .onecache file itself, I wouldn't mess with them individually). This may have been helpful in earlier beta builds when we still had sync issues. At B2TR and RTM though I really can't think of a good reason at all to recommend you do this.

    7.    One very unfortunate limitation of what we could with embedded files in this version is that our search will not produce hits within the embedded files. I won't go into all the technical details and issues dealing with indexing engines etc., but I will say this pains us greatly, it's somethign we really wanted to do, we thought long and hard about it, but we just couldn't do that work in this release. It's a lot of work to do right and we focused most of our search energy on just getting fast indexed search for OneNote content right.

    8.    Audio and video recordings made with OneNote are treated just like other embedded files. All the same issues, challenges etc. apply so we handle them in the same way.

    Thanks David!

  • Engineering OneNote Blog

    OneNote & Groove – How to store your notes in Groove

    • 0 Comments

    David our storage PM for OneNote just blogged about storing OneNote sections in Groove, here is how he starts off:

    Many people have wondered how OneNote 2007 and Groove work together (or not). Your experience will depend on whether you're using a Groove Workspace or a Groove Folder Share. Here's a brief summary...

    Read the rest here: OneNote 2007 and Groove. Thanks David! I have been bothering him about this for the past couple weeks : )

  • Engineering OneNote Blog

    OneNote keyboard/mouse combo shortcuts

    • 0 Comments

    Someone was asking this internally so I thought I would share it with everyone: just as a general rule; while dragging in OneNote:

    o Holding down Alt will turn off the snap to grid

    o Holding down Ctrl will do nothing

    o Holding down Shift will merge a dragged outline into the other (instead of being on top)

     FYI

    9/21/2006 1:42 AM – I need to amend this, I just saw that if you have selected something with the lasso tool then we don't do any snap to grid. Otherwise these combo options should work as I mention above, sorry for the confusion.

         

        

  • Engineering OneNote Blog

    Try OneNote Instant Search!

    • 13 Comments

    I wanted to pass on the following information from Olya Veselova who is another PM on the OneNote team. She owns some of our most favourite features such as: Outlook task sync, hyperlinks and search! She wanted me to share the following information about OneNote search:

    Try OneNote Instant Search!

    Try regular and phrase (quoted) searches.

         

    What to expect of OneNote 2007 B2TR Search

         

         

    • OneNote will find your notes even if they have not been indexed yet, because it always scans directly through any non-indexed items. So your search speed will vary depending on how many of your notes have been indexed.

         

    • OneNote searches only notebooks that are open

           

    Please report any issues to us!

    If your search is not working, please log a bug here: http://connect.microsoft.com/onenote

    Then try the "How to fix search" instructions below, but please log a bug even if your issue was fixed.

         

    What information to include with the bug:

    Please include as much of this information as possible. The more you provide, the easier it is for us to fix the problem.

         

    • Do you have Windows Desktop Search 3.0 Beta 2?
    • How long ago did you install WDS?
    • Were you prompted by OneNote or Outlook to install it? (If by Outlook, was OneNote already installed at the time?)
    • Did you have previous versions of WDS on your computer before?
    • If yes, did you do an uninstall of the previous WDS version, or did you just upgrade by running the new installer?
    • Did you restart OneNote after installing WDS?
    • Did you restart your computer ever since installing WDS?
    • Did you see any OneNote error/warning dialogs related to WDS?
    • What is the indexer status?

      Start > Programs > Windows Desktop Search > click the dropdown icon on the right-hand side next to the help icon > Desktop Search Options. Include a screenshot of the Indexing Options dialog that comes up.

           

    • How many OneNote pages do you have? View > Pages Sorted By Date > Pages Found: count.
    • If you search for tt, how many pages does OneNote find? (these are any pages containing timestamp under the title). Was the search very quick?
    • For any pages that search for tt did not find - can you find other words from these pages? (Before searching for the word, please navigate away from the page, because OneNote will always search the current page regardless)

           

      More advanced:

      • Is OneNote using the indexer? Here is how to find out:
        • Turn on Indexer Info task pane by doing this: Paste the text below into Notepad, save the file, and then rename the .txt to .reg. Double-click the .reg file. This sets registry keys that enable OneNote search logging. Restart OneNote.

               

          Windows Registry Editor Version 5.00

               

          [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\OneNote\Options\Logging]

          "EnableLogging"=dword:00000001

          "65811"=dword:00000001

               

          • View > Task Pane > click top of task pane > Indexer Info
          • Include a screenshot of the pane
          • Include the OneNote.log file which is in your %temp%\OneNote.log
      • How many pages have not been indexed yet?

        In Indexer Info pane click Quick Verify Index. This will take some time. When it completes, how many pages are listed in the yellow find control that comes up - this is the number of non-indexed pages.

      • Is OneNote still finding hits in these pages (as it is supposed to)?

        Use the yellow control to jump to one of these pages. Look for some word or phrase on the page. Then navigate away from the page - now search for that word and see if that page will be in the list of results. Please report to us if it is not.

         

    How to fix search:

         

         

    • Rebuild your index: Start > Programs > Windows Desktop Search > click the dropdown button on the right-hand side near the help button > Desktop Search Options > Advanced > Rebuild

      Then restart OneNote.

       

    We really want you all to test out search and make sure that you don't have problems. Please post your bugs on Connect as Olya suggests. Thank you much!

  • Engineering OneNote Blog

    How do I&amp;hellip; Add Copy To and Move To to Windows Explorer with a registry hack?

    • 4 Comments

    I just saw this blog post and I thought I would share it with all of you.  It add this to your right-click context menu in Windows Explorer:

    Works in Vista & XP, check it out!

    Adding Copy To and Move To functionality to the Windows Explorer right-click menu starts with the finding the key in the Windows Registry file. (Be sure to back up the Registry file before you begin.)

    • Start Regedit by navigating Start | Run and typing regedit in the dialog box.
    • Navigate to this key in the Registry file:
      HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers
      Note: The Send To key is already there.
    • Right-click on the ContextMenuHandlersfolder and select New | Key to add a new key.
    • Give it the name Copy To and then double-click the (Default) value of the new key's right-hand pane.
    • Type in this code as the new data:
      {C2FBB630-2971-11D1-A18C-00C04FD75D13}
    • Right-click on the ContextMenuHandlersfolder and select New | Key to add a new key.
    • Give it the name Move To and then double-click the (Default) value of the new key's right-hand pane.
    • Type in this code as the new data:
      {C2FBB631-2971-11D1-A18C-00C04FD75D13}
    • Click OK and close Regedit
    • Copy To and Move To should now be available options on the right-click context menu in Windows Explorer.

    Source: How do I… Add Copy To and Move To to Windows Explorer with a registry hack?

    I just saw this post: http://blogs.msdn.com/oldnewthing/archive/2004/02/02/66160.aspx Gotta love Raymond Chen and his blog J

  • Engineering OneNote Blog

    Download B2TR now!

    • 5 Comments

    Here is the link to all of the B2TR downloads from download.microsoft.com and for OneNote + Office, all English you can find other languages on the site. Happy downloading!

  • Engineering OneNote Blog

    B2TR coming out tomorrow!

    • 4 Comments

    I just saw the post here thanks to ZDNet:

    Microsoft plans on Thursday to release an updated test version of Office 2007, in what the company hopes will be the last milestone before finalizing the product later this year.

    Be ready to install B2TR : )   I don't have download links yet but once I do I will post them!

    With the upcoming B2TR release I wanted to give you all some steps and thoughts about this upgrade:

    • It is a patch update, that means that you _must_ have Office 2007 Beta2 installed on the system.
    • The patch for OneNote will include the patch for all of Office so you don't need two downloads.
    • Since it includes both products (as well as others) it will be big!  ~495 megs (English version) so be ready with your downloads
    • It will be free, no charge for the download
    • Make sure that you install the newest version of WDS so that search works great in OneNote & Outlook
    • Make sure to download the PDF+XPS addin if you want to publish to those formats;

    Some notes about OneNote 2007 B2TR:

    • Per usual you can open notes created in OneNote 2007 B1, B1TR, B2 & B2TR but once you open the notes in OneNote 2007 B2TR they will be updated to the newest version of the OneNote 2007 file format.  You will not be able to open B2TR files in B2, so if you are really cautious you might want to make a backup of your files before opening OneNote 2007 B2TR for the first time.  I don't do this but then again I am not that cautious as some of your are and I don't store my class notes in OneNote : )
    • If you open for the first time since OneNote 2003 then it should take of upgrade automatically however if you ran OneNote 2007 Beta2 at any point then the first boot reg key will still be set.
    • Log bugs for issues that you have!

    Final comments, according to this press release:

    "The company remains on track to complete work on the 2007 Microsoft Office system in October of this year and is planning to make the product available to the business customers through the volume licensing program in October 2006.

    That being said B2TR is going to be release in mid-Sept 2006 so that means there is a quick turn around for bugs and customer issues.  If you have issues with OneNote 2007 B2TR please log a bug against OneNote on our Microsoft Connect site and the sooner that you do this the better!  Remember quality is the #1 priority for the team so getting feedback from you all is vitally important.

    I also wanted to point out that you can log bugs against Publisher 2007 and log bugs against Project 2007 on their Connect sites.  Thank you for beta testing Office 2007 and making this the best release yet!

  • Engineering OneNote Blog

    Microsoft Posts Free Office 2007 'Save As PDF' Add-on

    • 6 Comments

    Please see here: Microsoft Posts Free Office 2007 'Save As PDF' Add-on:

    Microsoft Corp. Wednesday posted add-ons for Office 2007 that allow users to save files in the electronic paper PDF and XPS file formats, making good on a promise after it stripped the features from the suite under pressure from Adobe Systems Inc.

    Direct links:

    Save As PDF

    Save as XPS

    Save as PDF or XPS

    This will work with OneNote 2007 B2TR.

  • Engineering OneNote Blog

    Latest blog postings about OneNote

    • 9 Comments

    Mike, our Test Manager and singer/songwriter for My One and Only OneNote, sends us a round-up of the OneNote blogs and I just copy and paste them here to my blog and then I read them. This is the most recent round-up:

    Thanks Mike!

  • Engineering OneNote Blog

    Windows Marketplace & Discount on games

    • 1 Comments

    I recently visit Windows Marketplace that you can see here: http://www.windowsmarketplace.com/ and I thought I would add a few of their banners to point to their site:

    Click here to visit Windows Marketplace Click here to visit Windows Marketplace Click here to visit Windows Marketplace

    It is a pretty cool site where you can easily find software and download it right there. Also right now they have a 20% discount on a bunch of software packages, please see here: 20% off 20 of the hottest game downloads. The list includes these games Oblivion, WoW, EverQuest II as well as a bunch more. If you were thinking about getting these games you should do so now with a 20% discount!

    Now if you search for OneNote on Windows Marketplace you only see a few items (only one addin download), I would love to see you all fix this by making software that works up there. Make a OneNote Mobile sync with Palm or a Send to OneNote from Lotus Notes, there are plenty of ideas.

  • Engineering OneNote Blog

    MSDN Webcast on the OneNote 2007 API

    • 1 Comments

    I just did a MSDN webcast on the OneNote API you can see it here:

    MSDN Webcast: Developing Solutions and Extensions for Office OneNote 2007 (Level 200)

    Just click on the "Register for event" button that is on the left hand side. Then login with your Passport/Windows Live account, go through a bunch of sign-in pages and then you can view the webcast. So I just tired this with Firefox and I would recommend using IE instead. It is shame that they don't detect the browser/WMP settings correctly. Maybe it is just my computer; in either event please check this out!

  • Engineering OneNote Blog

    Live.com is out of beta, Call for Free & bird’s eye view

    • 0 Comments

    Nice job Live.com team, you all are out of beta and released! If you all haven't used Live.com in awhile I highly recommend it, the search is much improved and wicked fast. One small feature that I love is the ability to have Live Local give me a call for when I search for restaurants , see here:

    1 Have Live.com call YOU

    I guess that means I have entered the ultimate laziness when I can't even pick up the phone and I prefer to have this call me, and you can have it remember your number which is sweet. BTW if you are in Redmond, check out Bento Box it is great!

    One final feature on Live Local is the Bird's Eye view, which allows you to see 3D satellite picture of a location, see here:

    2 My building, I am in there somewhere

    When I first saw this feature I thought it was just eye candy, which it is, but it give you the ability to look for parking and see traffic flows. I actually had to go somewhere, used this bird's eye view to see just where the parking lot was and alternative locations. You just can't do that without the overlay.

    Congrats Live.com team!

  • Engineering OneNote Blog

    OneNote 2007 Xml Viewer – Check it out

    • 7 Comments

    Thank you to The Unknown OneNote Guy's Blog, where you can find the OneNote 2007 XML Viewer, we have something internally called OMSpy which I need to get approved by people here, get a EULA and other work before I can release it. I guess I will need to speed up on this process, in the meantime please check out the link: http://unknown-onenote.blogspot.com/2006/09/onenote-2007-xml-viewer.html

  • Engineering OneNote Blog

    Small chat about OneNote GUIDs

    • 1 Comments

    I was reading the The Unknown OneNote Guy's Blog on his/her post about A Look at GetHierarchy() Part II and there was something that stood out that I wanted comment on that I haven't mentioned before, here is what I read:

    The id attribute for my OneNote installation is {674B715E-9A47-4A2C-9D11-5B7325B27D4B}{1}{B0}. Your OneNote Guide Beta 2's id attribute will be different.

    I haven't talked much about GUIDs in this blog and how they will be unique, etc. First of all almost all items in OneNote have unique IDs, otherwise we could export them and reimport them into a page unless they were unique. So here are items that have hierarchy IDs:

    • Notebooks
    • Section Groups
    • Sections
    • Pages

    These items will be unique for a given OneNote session; if I have 4 notebooks open each will have a GUID that will not appear anywhere else in the hierarchy. Additionally other items have an object ID which is an ID for something on the page, here are items that have object IDs:

    • Outlines
    • Images
    • InkDrawings
    • Embedded Files
    • Media files
    • Etc.

    Almost any item on the page will have something which is unique on that page, however OneNote makes no guarantees that these items will be unique across all of the notebooks/sections/pages. That is why for certain methods you need both a hierarchyID and an objectID, like:

    • GetHyperlinkTo where you need to specific both a high-level object and something lower on the page, if you want a hyperlink to that item on the page.
    • NavigateTo, much like GetHyperlinkTo this will allow you to navigate to something else and you can just go to a page and leave the objectID parameter null or you can pass in an objectID as well and that will tell OneNote to navigate to the right place (this is fixed post B2TR so you won't see this in B2TR).

    One last comment about GUIDs, they are unique for an individual session in OneNote BUT they are not in the files. That means that across two computers you will have two different GUIDs and if you close a notebook and then reopen the notebook it will have a new GUID. There are some GUIDs stored in the file but what happens is OneNote takes that GUID and combines it with the GUID of your cache and that becomes the GUID for your notebook. There is some other crazy math so that they can easily look @ GUIDs and see what they are for, but the most important point here is that the GUIDs will change when you open and close a notebook.

  • Engineering OneNote Blog

    OneNote2006.com

    • 0 Comments

    Just the other day I got an email from AdminID from the OneNotePowerToys and NoteTalkers websites. He just started a community blog for OneNote called OneNote2006.com. Here are the details about it:

    Welcome to OneNote2006.com

    This is a "community blog" experiment hosted by AdminID and Sid of OneNotePowerToys and NoteTalkers.

    Anyone can sign-up to be an Author and create posts.

    Check it out and make sure to comment. I would love to see something like this hosted on OneNote, but the problem is that we need a UNC/WebDAV/SharePoint server that is available to everyone. If anyone knows of a hosting site that does this, allows for completely anonymous access, please let me know. I can do this on SharePoint and the 'editors' can use Passport/Windows Live to login and edit and everyone else can view. That might be interesting too. In either event please check out AdminID's site.

  • Engineering OneNote Blog

    Linking you OneNote notes to your Outlook tasks

    • 7 Comments

    Pretty much I am writing this for someone as a proof of concept and I thought I would share it with all of you J. You know how you can create Outlook tasks directly from OneNote and they appear in Outlook? They look like this:

    And it appears in my Todo Bar in Outlook and I can check of an item and it appears in OneNote as done. The two-way task sync was one of our most popular feature requests from OneNote 2003 SP1. Now some questions are:

    1. How does this work? Lets look under the hood shall we?
    2. Can I create my own tasks that look like this in OneNote that are linked to my Outlook tasks that weren't created by OneNote.

    Let's resolve both of these with this blog post.

    How linked Outlook tasks work

    First of all we do this feature by adding two special fields to the outlook task item, they are: OneNoteTaskID & OneNoteURL. So for the task that I just created let's see what it looks like in Outlook.

    I am going to use the Developer tab on the Ribbon, to see this open an Outlook task and choose File/Office ButtonàEditor Options and turn on to view the developer tab. So when I go into the task I click on Design this Form here:

    Then I choose (All Fields) and I can see this:

    There are the custom fields that OneNote put on this tasks when it was created. Now what does the XML look like in OneNote? Let's see here:

    <one:Outline author="descapa" lastModifiedBy="descapa" lastModifiedTime="2006-09-08T23:41:25.000Z" objectID="{A16F23FE-EF62-4443-A679-4C614C5A568E}{28}{B0}">

    <one:Position x="36.0" y="86.4000015258789" z="0" />

    <one:Size width="228.8948211669922" height="13.42771339416504" />

    <one:OEChildren>

    <one:OE creationTime="2006-09-08T23:41:16.000Z" lastModifiedTime="2006-09-08T23:41:25.000Z" objectID="{A16F23FE-EF62-4443-A679-4C614C5A568E}{29}{B0}" alignment="left">

    <one:OutlookTask startDate="2006-09-08T00:00:00.000Z" dueDate="2006-09-08T00:00:00.000Z" guidTask="{AD9B64F6-A770-4509-931B-DDB71A4F8710}" completed="false" disabled="false" creationDate="2006-09-08T23:41:25.000Z" />

    <one:T><![CDATA[Blog about how to create links to tasks]]></one:T>

    </one:OE>

    </one:OEChildren>

    </one:Outline>

     

    Look @ the highlighted text, and you can see that the guidTask is the same that appeared in Outlook. So that is how everything works.

    Creating your own links

    How do I create my own? Let me create a new line of text in OneNote which looks like this:

    Now this XML looks like this:

    <one:Outline author="descapa" lastModifiedBy="descapa" lastModifiedTime="2006-09-08T23:50:33.000Z" objectID="{25B09B42-B8F0-4906-91AB-A38C7F003991}{28}{B0}">

    <one:Position x="36.0" y="86.4000015258789" z="0" />

    <one:Size width="120.360939025879" height="13.42771339416504" />

    <one:OEChildren>

    <one:OE creationTime="2006-09-08T23:50:28.000Z" lastModifiedTime="2006-09-08T23:50:33.000Z" objectID="{25B09B42-B8F0-4906-91AB-A38C7F003991}{29}{B0}" alignment="left">

    <one:T><![CDATA[Blog test tasks]]></one:T>

    </one:OE>

    </one:OEChildren>

    </one:Outline>

    Now I just need to add one line for the one:OutlookTask, see here for what I send to OneNote via UpdatePageContent, see here:

    <one:OutlookTask startDate="2006-09-08T00:00:00.000Z" dueDate="2006-09-08T00:00:00.000Z" guidTask="{AD9B64F6-A770-4509-931B-DDB71A4F871A}" completed="false" disabled="false" />

    Note:

    1. You should check your Outlook task with the correct startDate and dueDate information and other items
    2. The GUIDs need to be unique, you can create them programmatically but I just went from 0-->A (hex counting)

    So what I send back into OneNote via the API is:

    <one:Outline author="descapa" lastModifiedBy="descapa" lastModifiedTime="2006-09-08T23:50:33.000Z" objectID="{25B09B42-B8F0-4906-91AB-A38C7F003991}{28}{B0}">

    <one:Position x="36.0" y="86.4000015258789" z="0" />

    <one:Size width="120.360939025879" height="13.42771339416504" />

    <one:OEChildren>

    <one:OE creationTime="2006-09-08T23:50:28.000Z" lastModifiedTime="2006-09-08T23:50:33.000Z" objectID="{25B09B42-B8F0-4906-91AB-A38C7F003991}{29}{B0}" alignment="left">

    <one:OutlookTask startDate="2006-09-08T00:00:00.000Z" dueDate="2006-09-08T00:00:00.000Z" guidTask="{AD9B64F6-A770-4509-931B-DDB71A4F871A}" completed="false" disabled="false" />

    <one:T><![CDATA[Blog test tasks]]></one:T>

    </one:OE>

    </one:OEChildren>

    </one:Outline>

    Note that only one line changed and now in OneNote I see this:

    Okay so now we are ready to set the fields on the Outlook item. For this experience let's say that I already had an Outlook task called "Test task in OLK" and now I just open it up and choose to change the form again, but this time instead of choosing "User-defined fields in this item" I choose "User-defined fields in folder" and I see this:

    So now I just need to set the OneNoteTaskID to what I inserted earlier: {AD9B64F6-A770-4509-931B-DDB71A4F871A} and I would need to insert the hyperlink back to that item (which can be found with GetHyperlinkToObject). So let me set those properties here:

    And save my tasks and then after a quick sync OneNote sees this change here:

    I can check off items in OneNote and it goes to Outlook and vice-versa, just like if you had created the task directly in OneNote:

    Why did I blog about this?

    Imagine that you wanted to do your own GTD application which would look at your Outlook tasks and you wanted to create a summary page in OneNote, much like our tag summary page. Here is how you would do this, all programmatically of course. I just wanted to show you how it could be done. Maybe if I have more time I could code up something like this myself, who knows.

Page 1 of 2 (24 items) 12