Group:  Other Microsoft Office Products ยป microsoft.public.onenote
Thread: section id changes after password protection

Geek News

section id changes after password protection
xiao 12/4/2008 1:02:04 AM
Hi All,
I noticed that section ID changes after I protect a section using a password.
If this is the expected result, how can we keep track of each section?
Section name is not reliable either because user can change it too.
Any ideas?
thx.
Re: section id changes after password protection
Ilya Koulchin <ikoulchine[ at ]hotmail.com> 12/5/2008 3:32:37 AM
xiao wrote:
[Quoted Text]
> I noticed that section ID changes after I protect a section using a password.
> If this is the expected result, how can we keep track of each section?

This is expected behavior. I'm guessing you're getting at the section ID
through the OneNote extensibility API? If so, then you can try using the
metadata properties, which can be set on sections. That way you can
assign your own ID to the section which will not change when it is
password protected. Note that if you do so, if the user copies the
section or it is somehow duplicated, the copy will have the same
metadata as well.

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