Bad place for some OfflineCacheFiles?

Y

YouBetcha

I sent an e-mail from Outlook to OneNote ("Send selected e-mail to OneNote"
button). The e-mail had an attachment.

The attachment was not saved to the OneNoteOfflineCache_Files directory. It
was saved to "c:\temp\OneNoteAttachments\" directory.

"c:\temp\OneNoteAttachments\" was deleted per automation. Therefore, file
doesn't exist anymore. This is a bad place to try to keep them anyway.

Any way to have all attached files saved to the OneNoteOfflineCache_Files
directory and linked there?
 
I

Ilya Koulchin

YouBetcha said:
I sent an e-mail from Outlook to OneNote ("Send selected e-mail to OneNote"
button). The e-mail had an attachment.

The attachment was not saved to the OneNoteOfflineCache_Files directory. It
was saved to "c:\temp\OneNoteAttachments\" directory.

"c:\temp\OneNoteAttachments\" was deleted per automation. Therefore, file
doesn't exist anymore. This is a bad place to try to keep them anyway.

Any way to have all attached files saved to the OneNoteOfflineCache_Files
directory and linked there?

When an email with attachments is sent to OneNote, the attachments will
be saved as an embedded file. When OneNote saves an embedded file it
makes a copy of the original and keeps it with the section, so that it
remains available even if the original embedded file is deleted (the
downside is edits made to the embedded file from outside OneNote do not
get reflected in the inserted copy).

The full process is as follows:
1. A copy of the attachment is saved in the temp directory. This is
usually something like C:\Users\<username>\AppData\Local\Temp, but can
be different if you've configured your temp directory to point somewhere
else.
2. The file is inserted into OneNote. This causes a copy of the file to
be saved to OneNoteOfflineCache_Files folder. After this point, the copy
created in step 1 is no longer necessary and can be deleted.
3. When the notebook is synced, the embedded file will be synced as
well, and will either be embedded in the section on the server or saved
in a folder next to the section. This ensures that the attachment is
available to any other clients that have the notebook open.
 

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