On submitting a knowledge document from within a ticket and trying to publish will give the error: "This document is attached to the top category and cannot be published". How to Publish such documents
Release: 14.1 or higher
Component: CA Service Desk Manager
This is because when ever we submit a knowledge document from a ticket it directly links to the "Top" category and you would need to link it to another category.
Hence, before publishing the knowledge document click on the "Related Knowledge tab" and under the Categories (X) right click on any category where you want the knowledge document to be linked and click on "Link this Category".
Now the document will be ready to Publish.