I have created custom Content Types for our document libraries - Word, Excel, Powerpoint, so that users can create new documents within Sharepoint.
However, when users are uploading documents, I don't want them to have to choose the Content Type. I want Sharepoint to autorecognize that the file being uploaded is an Excel File and file it to the appropriate Content Type.
For example, when users upload documents, they receive the document upload window which prompts them to enter metadata about documents (ie, attributes such as Content Type, Document Type, Category, etc...).
When users upload an Excel spreadsheet, I don't want them to have to choose the Content Type. By default, the Content Type drop-down list they see in the input window shows Word at the top, so if users don't click into the Content Type field and change it to Excel or Powerpoint, then all documents get filed under Word Content Type.
I'm trying to eliminate extra steps for users, so that they will want to use Sharepoint.
Is there a way to write some code that would make Sharepoint auto-recognize what the file type is of documents being uploaded, and file them to the correct Content Type automatically without users having to choose this field?
thanks!