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 have a strang problem in my site , I created a custom action by Using a Feature in Visual Studio for one of custom lists , when I added another custom action to displayForm in SharePoint Designer I could see my custom action that I created by Using a Feature in Visual Studio and every thing is ok , but if I remove custom action from Designer another custom action it isn't visile!! how can I solve this problem? this is my XML code for custom action:

    <?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction
 Id="0b5d3f99-ea17-4a93-ba04-9744a8c099af"
 RegistrationType="List"
 Title="Developer User Action"
  RegistrationId="{55724afd-d5fd-4eec-ac6d-e566ffd83cbc}"
  Sequence="4"
  Location="CommandUI.Ribbon.DisplayForm">
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition Location="Ribbon.ListForm.Display.Actions.Controls._children">
          <Button
            Id="Ribbon.ListForm.Display.Actions.DeveloperButton"
            Command="OpenWebPart"
            Image32by32="/_layouts/images/Masco/Icons-Large/note_edit.png"
            Image16by16="/_layouts/images/Masco/Icons-Small/note_edit.png"
            Sequence="4"
            LabelText="User/Developer Request"
            Description="Back and forth between developer/user to give results of request."
            TemplateAlias="o1" />
        </CommandUIDefinition>
      </CommandUIDefinitions>
      <CommandUIHandlers>
        <CommandUIHandler Command="OpenWebPart" CommandAction="javascript:window.open('http://www.google.ca')"></CommandUIHandler>
      </CommandUIHandlers>
    </CommandUIExtension>
  </CustomAction>
</Elements>
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.