Is using Saved Site template a good approach?
-
15 มิถุนายน 2555 9:11
Hi,
I have been asked to suggest if using Custom Site templates (that get saved in Solutions gallery) is a good approach or practice to take? I had formed an opinion that exporting it to VS and then deploying the Custom Web Template as a farm solution would be better and we don't have problem deploying it web-application wide.
I have a custom master page and a CSS (that reside on file system and ghosted) which is applied using an event handler on creation of any kind of site. I understand that using Site templates as a sandbox causes all the resources to come from the DB but i am looking for cases of when can it cause me a problem, specially maintenance wise.
While we are at it, what about using saved list templates?
Any suggestions?
Thanks
- แก้ไขโดย Sulabh Gupta 15 มิถุนายน 2555 10:45
ตอบทั้งหมด
-
15 มิถุนายน 2555 10:09
I have a positive inclination towards sandbox solution provided i am not dealing with too complex solution of functionality.Its always good as this can be administer without elevated privileges of farm admin. Further, Server access or handling is not needed. But Farm solutions have its own advantages(complex solution and keeping Information workers away from behind the scene events).
Have a read about requirement/need of sandbox
http://msdn.microsoft.com/en-us/library/ee231562.aspx
Ashish Ranjan (Please click "Marked As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you)
-
15 มิถุนายน 2555 10:51Thanks for the reply Ashish. I am looking at if i should tell the end users to not use a "Saved Site Template" but rather pass it on to dev that can export it and convert it into a farm solution? The users obviously like creating and using site and list templates on the fly but is it going to create a problem from maintenance/upgrade point of view? Is going for a farm solution better?
-
15 มิถุนายน 2555 11:03
If the User control on deployment is required, Sandbox is the right candidate. As Users are going to manage their solution, They can handle it pretty easily for any further upgrades. There should be a process in place where any upgrade or maintenance should be communicated to them so that they keep the back of solutions.
Picking/Allowing right set of people to do the task of creating site templates and list templates plays a important in deciding the maintenance factor. Allowing all to create templates is not advised.
If you are thinking that converting it to a farm solution for prod deployment, If Good, but That will minimize the benefits of using sandbox solution, You will be taking out rights from your information workers to use sandbox solution. Further any changes does on the template will make life difficult when you need to propagate that change to Production, that to as a farm solution.
I will suggest you to go with the sandbox solution and allow access to users who understands this really well. Further instruct them on managing their solution.
Ashish Ranjan (Please click "Marked As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you)
- ทำเครื่องหมายเป็นคำตอบโดย Daniel YangMicrosoft, Moderator 25 มิถุนายน 2555 2:04
-
15 มิถุนายน 2555 11:19
When you saved a site, do all the artifacts in that WSP get disconnected from the file server? If I change my custom master page or CSS or custom web part, all of which reside in the file system, will the site created out of that saved site template reflect those changes?
My main concern is around some future changes not propagating in the sites created from these site templates. I don't want stuff getting unghosted and causing me a problem later. That is the reason why i was inclined to go with a farm solution to start with.
-
17 มิถุนายน 2555 16:38
While saving site as a template, you get an option(checkbox) to save that with content.so newly created site based on that template will have that content.Ashish Ranjan (Please click "Marked As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you)
- ทำเครื่องหมายเป็นคำตอบโดย Daniel YangMicrosoft, Moderator 25 มิถุนายน 2555 2:04