B
benmca
Hi - I'm trying to add a new notebook in OneNote 2007 using
UpdateHierarchy, and am having trouble. I have tried to send the
following xml fragments in to the UpdateHierarchy method:
Frag 1:
<one:Notebook xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote" nickname="NicknametestNotebook" ID="{0B8E7305-
AC2C-4BCB-8651-1CDA55AAE14C}{1}{B0}" name="testNotebook"
lastModifiedTime="2007-03-26T09:43:37.5000000-07:00" />
Frag 2:
<one:Notebooks xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote">
<one:Notebook xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote" nickname="NicknametestNotebook" ID="{0B8E7305-
AC2C-4BCB-8651-1CDA55AAE14C}{1}{B0}" name="testNotebook"
lastModifiedTime="2007-03-26T09:43:37.5000000-07:00" />
</one:Notebooks>
Frag 3:
<one:Notebook xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote" nickname="NicknametestNotebook" name="testNotebook"
lastModifiedTime="2007-03-26T09:43:37.5000000-07:00" />
Frag 4:
<one:Notebooks xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote">
<one:Notebook xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote" nickname="NicknametestNotebook" name="testNotebook"
lastModifiedTime="2007-03-26T09:43:37.5000000-07:00" />
</one:Notebooks>
and all return hrNotebookDoesNotExist (0x80042015). Can anyone offer
advice here? I need to programatically add a new notebook,
specifiying it's name and, preferably, it's ID.
Thanks in advance,
Ben
UpdateHierarchy, and am having trouble. I have tried to send the
following xml fragments in to the UpdateHierarchy method:
Frag 1:
<one:Notebook xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote" nickname="NicknametestNotebook" ID="{0B8E7305-
AC2C-4BCB-8651-1CDA55AAE14C}{1}{B0}" name="testNotebook"
lastModifiedTime="2007-03-26T09:43:37.5000000-07:00" />
Frag 2:
<one:Notebooks xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote">
<one:Notebook xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote" nickname="NicknametestNotebook" ID="{0B8E7305-
AC2C-4BCB-8651-1CDA55AAE14C}{1}{B0}" name="testNotebook"
lastModifiedTime="2007-03-26T09:43:37.5000000-07:00" />
</one:Notebooks>
Frag 3:
<one:Notebook xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote" nickname="NicknametestNotebook" name="testNotebook"
lastModifiedTime="2007-03-26T09:43:37.5000000-07:00" />
Frag 4:
<one:Notebooks xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote">
<one:Notebook xmlnsne="http://schemas.microsoft.com/office/onenote/
2007/onenote" nickname="NicknametestNotebook" name="testNotebook"
lastModifiedTime="2007-03-26T09:43:37.5000000-07:00" />
</one:Notebooks>
and all return hrNotebookDoesNotExist (0x80042015). Can anyone offer
advice here? I need to programatically add a new notebook,
specifiying it's name and, preferably, it's ID.
Thanks in advance,
Ben