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

I'm trying to add a new checkbox in the Edit link tab of a rich editor field (in a publishing site). Specifically, in the behavior group.

I set up a new site feature, activated, that contains this element :

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction
    Id="My.Toolbox.RichEditorExtensions"
    Location="CommandUI.Ribbon"
    >
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition
          Location="Ribbon.Link.Link.Behavior.Controls._children">
          <CheckBox Command="MyCheckboxCommand"
                    LabelText="Ouvre le lien en tant que boite de dialogue"
                    Id="My.Toolbox.RichEditorExtensions.MyCheckbox"
                    Sequence="30"
                    Alt="Ouvre le lien en tant que boite de dialogue"
                    TemplateAlias="o1" />
        </CommandUIDefinition>
      </CommandUIDefinitions>
      <CommandUIHandlers>
        <CommandUIHandler Command="MyCheckboxCommand"
                          CommandAction="javascript:alert('Custom Script');" />
      </CommandUIHandlers>
    </CommandUIExtension>
  </CustomAction>
</Elements>

Unfortunately, the new checkbox does not appears.

What's wrong and what have I to do to fix this missing checkbox?

[Edit] I discover that the checkbon appears in Firefox, but not on IE 9. Maybe a related issue?

share|improve this question

1 Answer 1

It looks like it was a simple caching issue. Clearing the browser cache solved the issue.

share|improve this answer

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.