0

I am trying to add a custom action to the Welcome menu, right below the Sign Out button. Here are the steps I followed:

1) Created an Empty element called CustomActions and edited the Elements.xml as below:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction
    Id="MyCustomAction"
    Description="This is my custom action."
    Title="Open Application Page"
    GroupId="SiteActions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="10">
    <UrlAction Url="~site/_layouts/SPCustomAction/MyAppPage.aspx"/>
  </CustomAction>
</Elements>

2) Created a feature with scope Site, and added this item to the feature.

3) Deployed.

Am I missing something? I also tried creating a SPUserCustomAction programmatically on the FeatureActivated, but it's not showing up either.

Any advise?

2
  • 2
    Have you confirmed that the feature is activated? The only other thing I can see that differs from my custom action definitions (SP2013 on-premise) is the GroupId - you could try 'PersonalActions' instead of 'SiteActions', and the Sequence number - try '1000'.
    – Ted N.
    Commented Nov 19, 2014 at 22:27
  • +1 For the promp reply and correct response!
    – Gonzalo
    Commented Nov 20, 2014 at 13:40

1 Answer 1

2

Use GroupId="PersonalActions" and Sequence="1000"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.