Solved

VB Code to create a SharePoint Website

Posted on 2013-10-30
2
303 Views
Last Modified: 2013-10-31
I am looking to see if there is any way to create a Web site on the SharePoint Server using an existing template using VB in my app from a Client Machine (meaning I cannot use SharePoint.dll on the client)

Much appreciated if there is.
0
Comment
Question by:BKennedy2008
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39612833
Hi,
if you are talking about a site (in code SPWeb) then there is an excellent sample in the MSDN documentation:
http://msdn.microsoft.com/en-us/library/office/ee537538(v=office.14).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1

To get all existing templates in your farm, please run the Powershell script from here:
http://blogs.technet.com/b/praveenh/archive/2013/04/04/get-a-list-of-web-templates-and-ids-in-a-sharepoint-site.aspx

This displays all web templates with its ids.

HTH
Rainer
0
 

Author Closing Comment

by:BKennedy2008
ID: 39614704
those 2 documents did the trick...Awesome thanks
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

820 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