Answered by:
How to migrate CEWP's from one site to another?

Question
-
I'm working on a list library and the forms(newform.aspx/editform.aspx) for that library has Content Editor Web Parts in them that link to some js files. I have the list and the forms working the way I want but now I need to port it to about 100 sites. Is there any way I can port this list over along with the CEWP in the forms and not have to manually add the CEWP in each list?
The CEWP is a custom javascript solution that I found online. http://sharepointjavascript.wordpress.com/2012/08/13/dynamic-forms-for-sharepoint-now-with-tabs/
I've tried templating the list library and moving it but that did not bring in the CEWP.- Edited by sbabu98 Thursday, October 11, 2012 6:31 PM
Thursday, October 11, 2012 6:30 PM
Answers
-
Hi sbabu98,
This behavior is by design, When you customize the form page of a list, it will not replicated when a new instance of the list created from the list template.
More information, please refer to,
Regards,
Kelly Chen
- Marked as answer by star.wars Friday, October 19, 2012 8:38 AM
Friday, October 12, 2012 6:45 AM -
A solution in this case can be to create a web scoped feature that contains one modul element. This module will provisions the CEWP to the specific urls (list forms) to all webs where it is activated.
This solution is in case you have already created the other sites and you just want to add the CEWP. In case you (or site users) are going to create them - custom list definition is recommended.
Regards,
DimchoDimcho Tsanov
- Proposed as answer by Ramesh Goud Rangu Sunday, October 14, 2012 4:36 PM
- Marked as answer by star.wars Friday, October 19, 2012 8:38 AM
Friday, October 12, 2012 7:55 AM
All replies
-
Hi sbabu98,
This behavior is by design, When you customize the form page of a list, it will not replicated when a new instance of the list created from the list template.
More information, please refer to,
Regards,
Kelly Chen
- Marked as answer by star.wars Friday, October 19, 2012 8:38 AM
Friday, October 12, 2012 6:45 AM -
A solution in this case can be to create a web scoped feature that contains one modul element. This module will provisions the CEWP to the specific urls (list forms) to all webs where it is activated.
This solution is in case you have already created the other sites and you just want to add the CEWP. In case you (or site users) are going to create them - custom list definition is recommended.
Regards,
DimchoDimcho Tsanov
- Proposed as answer by Ramesh Goud Rangu Sunday, October 14, 2012 4:36 PM
- Marked as answer by star.wars Friday, October 19, 2012 8:38 AM
Friday, October 12, 2012 7:55 AM