OneNote Gem Add-Ins

UWP: How to Enable/Disable Cloud File Attachment in OneNote?

OneNote General Attachment 
When we drag and drop files from Windows Explorer to OneNote, they become attachments with medium icons.
This is the ordinary attachment.
OneNote General Attachment
 
Enable Cloud File Attachment Feature 
In options of OneNote for Windows 10 (UWP)
 
File attachments options
Save file attachments in OneDrive, where you can edit and share them. Turn this off to attach files in OneNote as a local copy.
 
Store attachments in cloud: Turn “On”.
Enable Cloud File Attachment Feature
 
Cloud File Attachment Display in OneNote UWP 
After turn on the Cloud Attachment feature, when we drag and drop files from Windows Explorer to the OneNote UWP,

The OneNote UWP generates a file name with a link and a preview diagram.

OneNote UWP upload the file to OneDrive’s “OneNote Uploads” folder, and generate a preview.
Cloud File Attachment Display in OneNote UWP
 
Advantages and Disadvantages of Cloud Attachments 
Disadvantages:
  1. You cannot open a Cloud Attachment directly from OneNote with native software.
  2. It only provides a link to jump to the Web page. Open attachments with Web online tools for editing. If the network is impassable, it cannot be manipulated. (Especially in some countries, which cannot access OneDrive.com, Microsoft Personal accounts cannot be opened Cloud Attachment for editing, and the preview is also not displayed).
  3. The preview diagram can only be viewed and cannot be edited.
  4. To edit a cloud attachment using local native software, use the OneDrive.exe client. Synchronize the "OneNote Uploads" folder, locate the file, and then edit it.
  5. Only Office files will have a preview. Other files do not have a preview diagram.
 
Advantages:
  1. Some files can view the preview directly (if the network allows).
  2. If the preview is too large and wide, you can scroll through the scroll bar.
  3. The preview is reloaded each time when the page is opened.
  4. With the “Gem Menu for OneNote UWP” add-in, you can edit the Cloud Attachment directly with the local software from OneNote UWP.
 
Good Use Cloud Attachment with Add-In 
We can directly use the “Gem Menu for OneNote UWP” add-in, after synced completely “OneNote Uploads” folder in on the OneDrive.exe client.

With the “Cloud Attachment Link” on the OneNote UWP page, use the local native software to open the corresponding files in the "OneNote Uploads" folder for editing.

This allows you to achieve the perfect degree of use of Cloud Attachments.
 
Demonstration
OneNote for Windows 10 (UWP) add Cloud File Attachment feature.