SharePoint Integrator V4 - Online Help
SharePoint Integrator V4
Questions / Feedback?

SiteWebTemplate Property

The template to use for site creation.

Syntax

 spadmin.getSiteWebTemplate([callback])
 spadmin.setSiteWebTemplate( siteWebTemplate, [callback])

Possible Values

  0 (wtTeamSite), 
  1 (wtBlankSite), 
  2 (wtDocumentWorkspace), 
  3 (wtBasicMeetingWorkspace), 
  4 (wtBlankMeetingWorkspace), 
  5 (wtDecisionMeetingWorkspace), 
  6 (wtSocialMeetingWorkspace), 
  7 (wtMultipageMeetingWorkspace), 
  8 (wtBlogSite), 
  9 (wtWikiSite), 
  10 (wtBasicGroupWorkSite), 
  11 (wtBlankGroupWorkSite), 
  12 (wtCustomSite)

Default Value

0


Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for the getSiteWebTemplate([callback]) method is defined as:

function(err, data){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'data' is the value returned by the method.

The callback for the setSiteWebTemplate([callback]) method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

The template to use for site creation. Set this to the template which will be used when creating a new site. If CustomSite is specified, the custom site template must be set using the CustomWebTemplate configuration.

Possible values are:

0 (wtTeamSite)Team Site
1 (wtBlankSite)Blank Site
2 (wtDocumentWorkspace)Document Workspace
3 (wtBasicMeetingWorkspace)Basic Meeting Workspace
4 (wtBlankMeetingWorkspace)Blank Meeting Workspace
5 (wtDecisionMeetingWorkspace)Decision Meeting Workspace
6 (wtSocialMeetingWorkspace)Social Meeting Workspace
7 (wtMultipageMeetingWorkspace)Multipage Meeting Workspace
8 (wtBlogSite)Blog Site
9 (wtWikiSite)Wiki Site
10 (wtBasicGroupWorkSite)Basic Group Work Site
11 (wtBlankGroupWorkSite)Blank Group Work Site
12 (wtCustomSite)Custom Site

This property is not available at design time.

Data Type

Integer

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0