ENHANCEMENT: Allow setting of canAttachExisting and canPreviewFolder 

(#62 Squashed)