My edit page link is not working in the site action ribbon

Posted by Shanthosh2110 under SharePoint on 1/9/2012 | Points: 10 | Views : 2405 | Status : [Member] | Replies : 0
Hi,

First I have hide the new page in link the site action using the below code:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<HideCustomAction
Id="HideCreatePublishingPage"
GroupId="SiteActions"
HideActionId="PublishingSiteActionsMenuCustomizer"
Location="Microsoft.SharePoint.StandardMenu">
</HideCustomAction>
</Elements>

then added a new custom page in the site action:

<?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 My Custom Page"
GroupId="SiteActions"
Location="Microsoft.SharePoint.StandardMenu"
ImageUrl="/_layouts/images/ActionsEditPage.png"
Sequence="10">
<UrlAction Url="~site/_layouts/CreatePublishingPage.aspx"/>
</CustomAction>
</Elements>

then replaced my aspx page to the home page but when i click the edit page option in the site action the editing option is not working
can any please help me..

Thanks in Advance,
Shanthosh

shanthosh.s


Responses

(No response found.)

Login to post response