SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to define a ribbon button that appears in the calendar new event and/or modify event form using Visual Studio.

I am perfectly able to have a ribbon button appear in the list view and other places, but not in the edit form. How do I do this?

enter image description here

"My button here" is where I want to place my ribbon button. Any help appreciated :)

share|improve this question

Figured out it's all about Location, Location, Location!

Editing the elements.xml to the following worked:

<CommandUIDefinition Location="Ribbon.ListForm.Display.Actions.Controls._children">
   <Button Id="MyButton"
      Alt="My Button"
      LabelText="My Button"
      Image16by16="_layouts/15/images/placeholder16x16.png" />

Seems like the syntax is the same as in 2010.

Some good resources on the topic here:

share|improve this answer

Your Answer


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.