kwizcom banner advertisement

How to find the SharePoint Site Template being Used

6:30 PM    , , , ,
How to find the site template of an existing SharePoint site? There are many ways to find the site definition being used for a site, Here are some: 1. Use SharePoint Manager to find SharePoint site template. Navigate thru the site, and look for "Web Template" as in the below picture. 2. Stsadm: Get current site template in S harePoint stsadm.exe -o enumallwebs -databasename <content-db-name> > Template.txt Now, Open the template.txt file and check for template. This trick can be used to find site template name for SharePoint 2010 even. 3. Sql Server: SQL Server is the back-bone of SharePoint, So lets use the SQL Query to determine SharePoint site template used: SELECT Title , WebTemplate FROM dbo.Webs WHERE Title = 'Your Site' 4. You can programmatically use SharePoint Object Model to find site template of SharePoint site. Just query  SPWeb.WebTemplateId . Here is the reference table for SharePoint 2007: Template ID Code Description 1
How to find the SharePoint Site Template being Used How to find the SharePoint Site Template being Used Reviewed by Salaudeen Rajack on 6:30 PM Rating: 5

Convert Subsite to Site Collection and Site Collection to Subsite in SharePoint

6:02 PM    , , , , ,
During the migration of MOSS 2007 to SharePoint 2010, wanted to convert some of the large subsites into site collection in a separate content databases. How to convert a subsite to a site collection in SharePoint? sure, Its possible to promote subsite to site collection in SharePoint. Follow these Steps to Convert Subsite to Site collection: Export the Source sub-site Create a new Site collection in Separate content database Import the backup into the site collection. 1. Export the subsite Export the source sub-site using STSADM command line: stsadm -o export -url <URL-of-the-Sub-site> -filename <Backup-File-Name> -includeusersecurity -versions 4 2. Create a New Site collection in its own Database, without assigning template Execute this command line to create a new site collection in new content database. stsadm -o createsiteinnewdb -url <Site collection URL> -owneremail <e-mail of the site owner> -ownerlogin <domain\username>  -
Convert Subsite to Site Collection and Site Collection to Subsite in SharePoint Convert Subsite to Site Collection and Site Collection to Subsite in SharePoint Reviewed by Salaudeen Rajack on 6:02 PM Rating: 5

Hide Site templates & List Templates in SharePoint

6:38 PM    , , , ,
In my SharePoint Farm, I wanted to disable certain site templates in site creation page. Here is the technique for hiding a Site template in SharePoint 2007: There are XML manifest files found on the file system of the web front end.     Look for the file webtemp.xml,webtempsps.xml,etc  in " C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML\ "     Make a backup of this files you are modifying     Open the file in notepad and look for the site template you want to hide     Change Hidden="FALSE" into Hidden="TRUE" (case sensitive) and save the file     Do an IISRESET This will hide the specific site template from the list of templates available when you create a site. Hide SharePoint List or Library Templates Same way, you can hide the list template in SharePoint 2007 too , here is how: First find the template/feature you want to modify in "web server extensions\12\TEMPLATE\FEATURES"
Hide Site templates & List Templates in SharePoint Hide Site templates & List Templates in SharePoint Reviewed by Salaudeen Rajack on 6:38 PM Rating: 5
Content deployment in MOSS 2007 Content deployment in MOSS 2007 Reviewed by Salaudeen Rajack on 7:11 PM Rating: 5

How to display Google map in SharePoint?

7:42 PM    , , , ,
In SharePoint, we can display Google Maps without any third party web parts. Here I'm explain how you can insert "Google Maps" maps in your SharePoint site with standard out of the box SharePoint features. You can display Google maps in SharePoint by embedding Google map code in SharePoint Content Editor Web Part. Go to Google Maps (http://maps.google.com) , Enter & Grab the code for target location.(As indicated in the below picture) Now Open the SharePoint site and follow the below steps: 1. Create a web part page, and then add content editor web part into it. 2. Edit the CEWP, paste the code from Google maps to CEWP by clicking source code(NOT Rich text editor!!!) 3. Save and exit the page. and here is what you will get: Use the same trick to embed Google map in SharePoint 2010 . Here is the feature based one: http://spgooglemap.codeplex.com/
How to display Google map in SharePoint? How to display Google map in SharePoint? Reviewed by Salaudeen Rajack on 7:42 PM Rating: 5

How to Add a Link to SharePoint Site Actions Menu

3:46 PM    , , ,
You can create a Custom link in Site Action Menu using CustomAction feature code. My Requirement is to add a new link "Support Center" in Site actions Menu, So that all site owners can easily access the SharePoint Support Center site. Create a folder in 12/14 hive's Features folder, say "Crescent.SharePoint.SupportLink" under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES Create these two files  update them as per the below content Install and activate the feature. See the SharePoint 2010 custom site action Menu Link in action! Feature.xml: <?xml version="1.0" encoding="utf-8" ?> <Feature Id="05BA4E54-C1E9-4244-8276-06451EBBB260" Title="SharePoint Support Center Link" Description="Shows Support Center Link in Site Actions Menu" Scope="Site" xmlns="http://schemas.microsoft.com/sharepoint/"> <ElementManifests>
How to Add a Link to SharePoint Site Actions Menu How to Add a Link to SharePoint Site Actions Menu Reviewed by Salaudeen Rajack on 3:46 PM Rating: 5

Add a Custom Group of Actions in SharePoint 2007 Site Settings Page

3:14 PM    , , , , ,
Requirement: Adding a custom group of actions in SharePoint site settings page. Solution: We can create a feature to achieve this. Here is what I've done: Create a folder"MyCustomAction" under: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES Create these two files in MyCustomAction folder: Feature.xml Elements.xml Place the below content in the above files: Feature.xml <? xml version = " 1.0 " encoding = " utf-8 " ?> < Feature xmlns = " http://schemas.microsoft.com/sharepoint/ "   Id = " 5DFD12AF-D0AA-4c63-8FB8-C49DB1191083 " Title = " Custom Site Actions Feature " Description = " Adds Custom Actions to the Site actions Menu " Scope = " Site " Version = " 1.0.0.0 " >     < ElementManifests >         < ElementManifest Location = " Elements.xml " />     </ ElementManifests > </ Feature
Add a Custom Group of Actions in SharePoint 2007 Site Settings Page Add a Custom Group of Actions in SharePoint 2007 Site Settings Page Reviewed by Salaudeen Rajack on 3:14 PM Rating: 5
Powered by Blogger.