Developer question: Linking to external content

J

John McDonald

Hi,

I'm thinking about creating a OneNote add-in, and I'm trying to understand a
little bit more about how some things work, in particular links. I've gone
through the Open Office XML specs for OneNote and some sample OneNote XML
pages (courtesy of OMSpy), and I'd like to sanity check my understanding and
clarify a few things:

There appear to be several different mechanisms exported via XML for linking
to external content from within OneNote:
- A 'TaskElement' that contains the GUID of a task is used for for linking
to Outlook tasks
- An 'OE' element containing a single 'T' sub-element is used for inserting
hyperlinks to external files & websites, with an unparsed CDATA string
containing the actual link. This is also used when a web page is sent to
OneNote from a browser.
- An 'InsertedFile' element with the path and cache path info for any files
inserted via the 'Insert/File...' option
- An 'OE' element containing two 'Meta' elements and a 'T' sub-element that
specify the Outlook folder (Calendar) and an EntryID for linking to Outlook
meeting requests when creating meeting notes

Here are my questions:

1. Are there any other linking mechanisms that I missed?
2. Can I tweak the OE/T elements currently used to link to an Outlook
meeting request to point to an Outlook email instead by specifying an email
folder and the EntryID of the email?
3. Can either the 'InsertedFile' or the hyperlink 'OE/T' elements be
extended to include command-line parameters inside the quoted path string?
Will OneNote choke on something like "C:\Programs\file.xyz option1" (with a
space before the option)?
4. Is there any method (or are there any plans) for supporting 'active'
content inside a OneNote page? For example, so a user can insert a drawing
from an external drawing program. The external program supplies callback
routines for displaying the content, etc. which OneNote calls when the user
interacts with the content. Somewhat like embedding an Excel spreradsheet
into Word.

Thanx.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top