OneNote Namespace Change for SP1

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:

While the final namespace for OneNote SP1 will be:

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.

Comments (3)

  1. Anonymous says:

    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.

  2. Anonymous says:

    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.