Solved

Specifying which Sharepoint template to use in C#

Posted on 2012-03-16
3
140 Views
Last Modified: 2012-04-27
I am developing a web part that creates a sharepoint site, creates a content database and I am supposed to be able to specify which Sharepoint template to use, but don't know how.  How do you specify which sharepoint template to use so that when the site is created, it takes on the appearance of the template?  There isn't much documentation on this anywhere that I look and I am clueless.  Any help would be great, thanks!
0
Comment
Question by:VBBRett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
dyuburg earned 500 total points
ID: 37732339
Appearance of the tepmlate you'll determinate during it installation. I mean when your solution will be ready, site will be esteblished, you will use STSADM command for adding solution to the site.

More info related to STSADM you can found here: http://technet.microsoft.com/en-us/library/cc262643(v=office.12).aspx
0
 

Author Comment

by:VBBRett
ID: 37732732
I'm looking for a more streamlined approach with code in C#, if you could point me in the right direction, I'd appreciate it.  The STSADM tool is not what I'm looking for, this whole setup has to be deployed from a custom web part I am building
0
 

Author Comment

by:VBBRett
ID: 37763875
Any way on getting some code for this solution?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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