We are building an ASP.NET MVC UI to sit on top of SharePoint 2010.
One of the questions that has cropped up is how difficult/easy it will be to re-create buttons to do standard SharePoint 2010 things.
For example, we will create an MVC view of a document library. In SharePoint 2010, a document library has a Connect to Outlook
ribbon button. We want the same function available when looking at a document library in our MVC UI.
I've found this but it's re-implementing the function.
I was hoping to find something like this:
// Massively simplified namespace but you get the idea!
SharePointApi.ConnectToOutlook(list, ...);
I understand the ribbon is context aware, but when you're looking at a document library all it really knows that is relevant to hooking up to Outlook is which document library it is. So when you click the button, something like the above has to be called. How can I find out what that is for any given standard ribbon function and start hooking into these functions easily?
I don't mean by reading front to back books about working with SharePoint and/or SharePoint & Outlook. Is there a reference someone knows of, or a programmatic investigative way to find out what a given ribbon action actually calls behind the scenes? (e.g. reflection... somewhere)
I'm not sure I've explained myself too well, so please comment if this doesn't make sense.