How to add custom XLViewer.aspx page?
-
dimanche 10 juin 2012 11:33
Hi All,
In sharepoint 2010 to see a excell document in browser, it uses XLViewer.aspx page from LAYOUTS folder which opens excell document in complete window. We want to extend this page functionality by adding a custom ribon to it with custom actions for the excell sheet.
Whenever user clicks on excell document in a particular site collection, it should use our custom XLViewer.aspx page. Please suggest me a solution.
Appreciate your help on this.
Thanks,
Rahul Babar
ASP.NET, C# 4.0, Sharepoint 2007/2010, Infopath 2007/2010 Developer
Toutes les réponses
-
lundi 18 juin 2012 14:42
Hello,
Here are the steps you need to follow:
- You need to create a IHttpModule to redirect the requests that come to XLViewer.aspx to XLViewer_Custom.aspx.
- Create a Web Application level feature to add the custom IHttpModule to your aplication web.config
Check this post to see the full description: SharePoint 2010 Customizing default application pages.
Cheers,
Dan.
You can find my blog here: http://developertrack.blogspot.com
- Marqué comme réponse Qiao WeiMicrosoft Contingent Staff, Moderator lundi 25 juin 2012 01:56

