SharePoint Development from a Documentation Perspective

Andrew May

OneNote Namespace Change for SP1

OneNote Namespace Change for SP1

  • Comments 3

Here’s a heads-up for developers that are using the SimpleImport interface available in the OneNote 2003 Service Pack 1 (SP1) Preview. Be advised that the namespace for the Import method will be different in the final released SP1 from what it is in the Preview version.

The current namespace for the OneNote SP1 Preview is:

http://schemas.microsoft.com/office/onenote/01/2004/import

While the final namespace for OneNote SP1 will be:

http://schemas.microsoft.com/office/onenote/2004/import

From what I understand, it’s become standard procedure here in Office to use a ‘beta’ namespace for early versions of a product, and then switch to another namespace once the schema has been finalized. Just be advised that if you’re programming against the Preview namespace, you’ll need to update your code for the new namespace in order for it to be compatible with the final OneNote SP1, once it’s released.

I’ve already edited my blog entry detailing how to use the SimpleImport functionality, but I wanted to call this out in a separate entry for anyone who’s already using the documentation.

  • Andrew - Thanks for the information. Is there (or will there be) any way of determining the installed version of OneNote? It would be nice for applications to automatically change to the correct schema, based upon the version ID. Perhaps it could be a read-only integer property of the CSimpleImporter COM object.
  • I don't think there's any plan to offer such functionality, mainly because the SP1 Preview isn't an actual version of OneNote so much as it is an early cut of the final SP1 code. I think that because the Preview is very much still a 'beta' work in progress, the expectation is that anyone currently using it will want to update to the release-quality final version of SP1 once it ships. So in the long run, there won't be a continuing need to program to the SP1 Preview. However, if you've already written code using the SimpleImport interface, you'll have to change the namespace in your code, or it won't work once the user has upgraded to SP1.
  • PingBack from http://feeds.maxblog.eu/item_118049.html

Page 1 of 1 (3 items)