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 have an idea to solve a problem by adding jQuery/javascript to a aspx page (in this case the DispForm.aspx) But I thought I've heard that SharePoint Online installs automatically updates. Can this updates have an impact on the jQuery I've wrote? Like changing client id's or other. And how many times a year are there updates? Any thoughts about this, why we shouldn't do this?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

No, the automatic updates will not affect your changes.

Whenever you customize a default SharePoint page (DispForm.aspx in your case), it becomes unghosted and the changes you made to the page are stored in the Content database. Now whenever you make a request to that page, the data from both the file system (original page) and the content database (custom changes) is fetched and shown.

Also as a result of unghosting, if you modify any particular list's DispForm.aspx, then the changes are reflected only on that list and not every other list's DispForm.aspx.

share|improve this answer
add comment

This does not directly answer your question, but:
If you use <CustomAction Location="ScriptLink" /> in a Module and deploy that and try writing selectors that don't depend on ID you should be safe.

share|improve this answer
    
+1 for avoiding the IDs. –  Derek Gusoff Sep 21 '12 at 23:51
add comment

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.