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