Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Specifying which Sharepoint template to use in C#

Posted on 2012-03-16
3
Medium Priority
?
145 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 1500 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

610 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