Tuesday, May 16, 2017

Tuesday, May 9, 2017

Moving OneNote files around, PC to Cloud and vice-versa

I needed to move some one note files around. Here's my scenario:

  • Onenote notebook Test on my PC. A onenote notebook is really just a folder with a TOC notebook in it. Each tab is another .one file.
    • If you onenote is on another cloud, you could export the onenote to a .onepkg then open that on your desktop to extract the folder of .one files.
  • Wanted to move it to a sharepoint that was only accessible by web or onedrive for business and NOT through the standard "places" approach within onenote itself. Otherwise, I could have just moved it using the internal onenote machinery.

I copied the folder to onedrive for business which makes it appear as a folder up on sharepoint, not as a onenote notebook with the proper icon.

If you you were to stick a txt file on your onedrive for business with the same name as the folder but with a .ms-one-stub extension and the textual content:   

StubID:{C04F1300-7A0E-410D-B7C2-2736A0B9739B}

Then save it, the icon will turn into a one-note icon and you can open it. However, no stub file appears on the sharepoint because the stub file is a special signal to onedrive to sync that content as a onenote sync vs standard filesync.

One sharepoint, create a dummy onenote, then delete it.

You should now have your original folder appearing as a onenote notebook on sharepoint and the folder with your .one files will be removed from your local computer. onedrive performs special syncing--per notebook tab--to be more efficient and this is the approach they use.