Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

My boss wants me to assume that the clients are complete idiots and that the standard document tab with all the options is too scary even with all the options grayed out. He wants me to create a custom ribbon tab with two buttons. One would work just like the new document button but present the list of only document content types, the other would present the list of only folder content types. Obviously this can't be hard coded since the list of available content types changes from library to library.

I am fairly comfortable with event receivers and the OM but this task requires me to use JavaScript and i have no idea where to begin. So far I have a custom tab with two flyouts with static code and JavaScript that creates a pop up and says hi for all menu options.

Can anyone either tell me how to do this or link an article that describes something similar? Also if there is someplace where I can get the code for the New Document button and its accompanying JavaScript, I can probably figure it out from there.

Thanks.

share|improve this question
add comment

1 Answer 1

I actually like this idea. Another "Option" for the modal dialog (assuming that you are going with the modal dialog) would be "Which library would you like to upload this to?" This sounds like a fun project. Here is a couple links from microsoft to get your started.

Customizing and Extending the SharePoint 2010 Server Ribbon

A great ribbon customization article called, "Customizing the Ribbon" by Chris O'Brien

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.