Group:  Other Microsoft Office Products ยป microsoft.public.onenote
Thread: Let us create sub-pages via API

Geek News

Let us create sub-pages via API
Scott 1/22/2007 6:19:02 PM
The API provides a CreatePage() method, but it doesn't give a way to create
sub-pages. Best I can tell after creating the page I have to then call
UpdateHierarchy() and add the isSubPage="true" attribute to the page that I
just created. Having a few more options to the enum that gets passed in
would be great.


----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/community/en-us/default.mspx?mid=1fd334b1-9b1f-4beb-a066-9a20577cb0f0&dg=microsoft.public.onenote
Re: Let us create sub-pages via API
"Daniel Escapa [MS]" <notreal[ at ]microsoft.com> 2/19/2007 10:27:57 PM
You can also create some XML with the isSubPage=true which you then need to
requery for the ID of the newly created page.

Yeah this is pretty tough...please suggest this on Connect, thanks Scott

"Scott" <Scott[ at ]discussions.microsoft.com> wrote in message
news:1FD334B1-9B1F-4BEB-A066-9A20577CB0F0[ at ]microsoft.com...
[Quoted Text]
> The API provides a CreatePage() method, but it doesn't give a way to
> create
> sub-pages. Best I can tell after creating the page I have to then call
> UpdateHierarchy() and add the isSubPage="true" attribute to the page that
> I
> just created. Having a few more options to the enum that gets passed in
> would be great.
>
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click the "I
> Agree" button in the message pane. If you do not see the button, follow
> this
> link to open the suggestion in the Microsoft Web-based Newsreader and then
> click "I Agree" in the message pane.
>
> http://www.microsoft.com/office/community/en-us/default.mspx?mid=1fd334b1-9b1f-4beb-a066-9a20577cb0f0&dg=microsoft.public.onenote

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net