Answered by:
Modifying Ribbon for an event in calendar

Question
-
Hello Friends,
I am trying to modify the ribbon interface for an calendar event using visual studio. When a calendar event is clicked information about the event is displayed in a form and I want to modify the ribbon in that form. So please suggest some examples and also the "Location" information in Elemets.xml
Thanks & Regards, Chandra Shekhar RameneniThursday, April 21, 2011 7:05 AM
Answers
-
Chandra,
Have you looked at the list of locations in the SDK? http://msdn.microsoft.com/en-us/library/ee537543.aspx If you search, you will find Ribbon.Calendar.Calendar.Actions group. You can use that to add/remove buttons on the ribbon. I would strongly suggest going through the topics in the SDK to learn about how to modify the ribbon. Specifically, Server ribbon XML (http://msdn.microsoft.com/en-us/library/ff407290.aspx) and Declarative Customization of the Server Ribbon (http://msdn.microsoft.com/en-us/library/ff407268.aspx).
Thanks,
Dallas
- Proposed as answer by Dallas Tester [MSFT] Friday, April 22, 2011 3:50 PM
- Marked as answer by Xue-Mei Chang-MSFT Friday, April 29, 2011 1:42 AM
Thursday, April 21, 2011 8:11 PM
All replies
-
Hi
You have to create a custom action and target it to the display form of the Calendar list.
The following post has many examples to target it to the display form of a particular type of lists.
http://www.sharepointfix.com/2010/11/custom-actions-in-sharepoint-2010.html
I am not sure what the registration ID for calendar events list is. Looking at the below post, i am guessing it is 106 (Events).
http://www.datacogs.com/datablogs/archive/2008/03/26/913.aspx
Thursday, April 21, 2011 7:23 AM -
Hello,
Thank you for the information provided and it is really helpful for me. One more thing can you provide me the relevant control ID for <CommandUIDefinition Location="">. The ribbon button should be placed in the "Actions" group of the form displayed when the event is clicked
I am guessing Ribbon.Calendar.Event.ViewItem I would like to know is that a valid one or can some one suggest the
Thanks & Regards, Chandra Shekhar RameneniThursday, April 21, 2011 9:02 AM -
Chandra,
Have you looked at the list of locations in the SDK? http://msdn.microsoft.com/en-us/library/ee537543.aspx If you search, you will find Ribbon.Calendar.Calendar.Actions group. You can use that to add/remove buttons on the ribbon. I would strongly suggest going through the topics in the SDK to learn about how to modify the ribbon. Specifically, Server ribbon XML (http://msdn.microsoft.com/en-us/library/ff407290.aspx) and Declarative Customization of the Server Ribbon (http://msdn.microsoft.com/en-us/library/ff407268.aspx).
Thanks,
Dallas
- Proposed as answer by Dallas Tester [MSFT] Friday, April 22, 2011 3:50 PM
- Marked as answer by Xue-Mei Chang-MSFT Friday, April 29, 2011 1:42 AM
Thursday, April 21, 2011 8:11 PM -
Hello,
Thank you for the information. I'll try it out and let you know the outcome.
Thanks & Regards, Chandra Shekhar RameneniFriday, April 22, 2011 4:42 AM