YouBetcha wrote:
[Quoted Text] > 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.
|