You can't drag items directly from the Sidebar to the Dock, btw, or the other way around, because in both cases they're merely links to the appropriate folder in the Finder.
The instructions in the post above work fine, but ignore anti-microsoft's post, because you can't do it that way. Only folders can be put in the dock, not groupings of files/applications.
jW