We are using Records Management feature in SharePoint 2010. User select a document and click the button "Declare Records" in the ribbon to declare it as a record. I know you can declare a document (or bunch of documents) as records but can't declare a folder as record. But right now the "Declare Records" button is enabled when a folder is selected and the user can complete the Records Declaration form without error. But only get an error when clicking on "Declare Records" button after he completed the form.
Is there a way to configure so that the "Declare Records" is disabled for folders?