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
Solved

Specifying which Sharepoint template to use in C#

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
Wav problem 4 28
Diagnostics with Net and Net.Sockets 2 31
use of unassigned local variable 'id' 6 53
Example works but why do I need to click twice on button 4 48
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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