How to add Custom button Create button on C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\CreatePage.aspx in SharePoint 2007
-
Wednesday, June 13, 2012 7:42 AM
Hi,
I want to add the custom create button on C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\CreatePage.aspx page and on click event it should redirect to http://topsite/subsite/Pages/Forms/EditForm.aspx . Please any one can suggest me how i can achive this. I am trying to achive this on SharePoint 2007.
All Replies
-
Wednesday, June 13, 2012 6:44 PM
Hi Rajeev,
Do you want to set this for a single site or at farm level ?
Because if you chage redirection under /_layouts/createpage.aspx, it will change CreatePage.aspx page function at farm level.
Please clarify, thanks
Warm Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/ | Posting is provided "AS IS" with no warranties, and confers no rights
-
Thursday, June 14, 2012 6:29 AMYes i want to change CreatePage.aspx function at farm level.
-
Thursday, June 14, 2012 6:42 PM
oh ok, you have to change the OnLoad and OnSubmit events inside createpage.aspx page. This requires customization.
you can refer - http://blogs.msdn.com/b/syedi/archive/2008/07/18/why-should-one-save-publishing-pages-in-pages-list-always-in-moss-bend-it.aspx
http://stackoverflow.com/questions/1093081/aspx-page-to-redirect-to-a-new-page
This is not what exact you want but it shows which codes are responsible for which function
Warm Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/ | Posting is provided "AS IS" with no warranties, and confers no rights
- Marked As Answer by Jack-GaoMicrosoft Contingent Staff, Moderator Friday, June 22, 2012 7:41 AM
-
Friday, July 13, 2012 6:14 PMHow would you do this for a single site and not the entire farm?

