SharePoint Solution Generator::Creating a site definiton from an existing site

Ok to get started I have created a new team site, based on the standard team site template. I have created two Custom Lists in the site named Employees and Employee Education respectively both with some added columns like Employee Name, Employee Address, Phone, Degree, College , Grade etc.
 
Now lets start SharePoint Solution Generator and start creating a site definition solution.
 
 
1) Run SharePoint Solution Generator.
 
 
2) Click on Site Definition and Click Next.
 

 
3) Now choose a site instance you would like to create a site definition template from, or else you can specify a URL also . Once done please click Next.
 

>

4) Specify the location to Save your site definition and also specify the project name.;

5) Finally press finish to proceed with generating the solution.

 6) Click on "Click here to open the generated solution".

 7) The result is a C# site definition solution with the following elements in it:

8) Start debbuging the solution. The following is the output.

—— Build started: Project: Oz Site Definiton, Configuration: Debug Any CPU ——

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\Microsoft.SharePoint.dll" /reference:"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\Microsoft.SharePoint.Security.dll" /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.XML.dll /debug+ /debug:full /keyfile:Properties\Temporary.snk /optimize- /out:obj\Debug\Oz_Site_Definiton.dll /target:library Properties\AssemblyInfo.cs "Site Provisioning Handler\SiteProvisioning.cs" "Site Provisioning Handler\SiteProvisioning.Internal.cs"

Compile complete — 0 errors, 0 warnings

Oz Site Definiton -> C:\Documents and Settings\uzubair\My Documents\SharePoint Definitions\Oz Site Definiton\bin\Debug\Oz_Site_Definiton.dll

—— Deploy started: Project: Oz Site Definiton, Configuration: Debug Any CPU ——

—— Generate Oz_Site_Definiton.wsp file and setup batch file——

Creating solution …

Operation completed successfully.

Creating setup batch file …

Operation completed successfully.

—— Add and deploy Oz_Site_Definiton.wsp to the SharePoint ——

Adding solution …

Operation completed successfully.

Deploying solution …

Operation completed successfully.

—— Activate features in solution if necessary ——

No features in this solution were activated

Restarting IIS …

Operation completed successfully.

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========

9) We can now create an instance of our new site definition. If we go to the create site screen there appeared an extra template selection tab called "Development" where our new site definition appears:

 

10) Select your definition as a site template and create site and it all works !!

 
 

9 Comments »

  1. Sanaa said

    Very good overview of the Solution generator ! Impressive !

  2. Unknown said

    Hi,Do you have second hand lcds, used laptop lcds and used LCD displays? Please go here:www.sstar-hk.com(Southern Stars).We are constantly buying re-usable LCD panels.We recycled LCDs.The re-usable panels go through strictly designed process of categorizing, checking, testing, repairing and refurbishing before they are re-used to make remanufactured LCD displays and TV sets.Due to our recent breakthrough in testing and repairing technology of LCD, we can improve the value for your LCD panels.
    Contact Us
    E-mail:sstar@netvigator.com
    website:www.sstar-hk.com[acihadhfgiaicc]

  3. Unknown said

    Hi,Do you need advertising displays, screen advertisings, digital sign, digital signages and LCDs? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.
    amberdigital Contact Us
    website:www.amberdigital.com.hk
    alibaba:amberdigital.en.alibaba.com[edfcjdbgaeibbh]

  4. Unknown said

    Hi,Do you need digital signages, advertising displays, digital sign, advertisement displays and advertising players? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.
    amberdigital Contact Us
    website:www.amberdigital.com.hk
    alibaba:amberdigital.en.alibaba.com[idgdgghgcgeijh]

  5. Артем said

    Hi! Why the Solution Generator changes Name attribute in list definitions to russian names from the DisplayName attribute? It takes time to manually change it back ((( How to fix it?

RSS feed for comments on this post · TrackBack URI

Leave a reply to Unknown Cancel reply