Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

convert site template to site definition

Posted on 2010-09-05
4
Medium Priority
?
627 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
3 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

581 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