Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to add some custom code to one of the native SharePoint's aspx files in the hive (14\TEMPLATE\LAYOUTS). Specifically, I wish to implement a Page_LoadComplete event that does some additional processing after the aspx has already been loaded.

Would any such modification automatically result in an unsupported state, regardless of the code added, and should as such be avoided?

share|improve this question
1  
What people usually do, I think, is to use and IHTTPModule or something to redirect requests from that page to a custom page. –  Cameron Verhelst Jul 15 at 9:15
    
@CameronVerhelst yes, that's the alternative I was actually thinking about, although redirection is not what I'm after. –  w128 Jul 15 at 9:21
    
Which page do you want to change ? –  Cameron Verhelst Jul 15 at 9:24
    
@CameronVerhelst - it's related to this question: sharepoint.stackexchange.com/questions/108333/… –  w128 Jul 15 at 9:25
    
The related question is to do with custom retention policies, it's not a page that would get "much" use I think, so redirecting to a custom page should not incur a big performance hit. If you can just copy paste the existing aspx content and map it to the same code behind, you should be free to make your own changes –  Cameron Verhelst Jul 15 at 9:29

1 Answer 1

up vote 6 down vote accepted

Yes, being a straight modification on a default SharePoint file, it will bring your farm to an unsupported state

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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