Topic by TomO
I'm trying to create a new addin for a workspace ribbon button control. I've implemented the IWorkspaceRibbonButton members in one class and also have another class that implements the interface IWorkspaceRibbonButtonFactory. I have three questions...
1. How do I add my addin into the workspace ribbon?
a. I've already tried the ribbon editor. I don't see my addin
2. When the factory creates the instance of the button, it is passed the IRecordContext object of the workspace that it is in reference to I'm assuming. From the IRecordContext, I can use the method GetWorkspaceRecord which requires me to pass in a enum of the record type. The question is how does my button addin know what record type (workspace) that it is referencing (Incident, Opportunity, etc)?
3. The IGlobalRibbonButton and IEditorRibbonButton allows for accelerator key registration, but not IWorkspaceRibbonButton. Why is that?