Solved

Specifying which Sharepoint template to use in C#

Posted on 2012-03-16
3
138 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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Turn on intranet settings 1 55
Hey!! 5 33
Moving code from one TFS branch to another 3 25
How come this regular expression allows "e"? 14 34
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now