开发者

Better saving and deploying site as wsp or programmatically creating lists, content types etc. in event receiver?

开发者 https://www.devze.com 2023-03-11 03:02 出处:网络
In Sharepoint 2010 it is possible to save a site as a wsp solution package. In my latest project a site consists of several subsites, lists, content types, permission groups views and so on. Creating

In Sharepoint 2010 it is possible to save a site as a wsp solution package. In my latest project a site consists of several subsites, lists, content types, permission groups views and so on. Creating all these things programmatically in a feature receiver is much efford.

Are there any disadvantages of saving and deploying the whole site as a wsp? I.e. will the开发者_开发知识库 site be ghosted on the target farm, and could the masterpage be changed later?

Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消