Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

convert site template to site definition

Posted on 2010-09-05
4
Medium Priority
?
612 Views
Last Modified: 2012-05-10
Hi,
  I have created a site template is there a way where i can convert the site template to site defintion  without having to write a custom site defintion. i.e create the default.aspx , change the onet and the webtemp in the hive .

0
Comment
Question by:Myworld
4 Comments
 
LVL 7

Accepted Solution

by:
amolghanwat earned 500 total points
ID: 33609872
A simple answer would be "no". Site definition and site template are two different things. To simplify, Site definition is a set of properties which are there even before a site is provisioned (created). When a site is created, it uses this site definition. Site template is something which is there after a site is created.
For creating a site definition, the best approach is to create is from scratch and without modifying any of the OOB files provided by Microsoft.
0
 

Author Comment

by:Myworld
ID: 33667614
Hi Amol,
 Thank you for you comment please can i create a site defination from sratch. i need to add a custom web part to the quick launch area. i dont want to tweak the existing site site template.
I want to create a site defintion in visual studio  and also add code to set the visitor group of the site to a custom permission level i created.
0
 
LVL 17

Expert Comment

by:GreatGerm
ID: 36123435
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Screencast - Getting to Know the Pipeline
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question