Fields
Fields
| Parameter | Description | |
|---|---|---|
nameString |
required | The display name of the site, reflecting its purpose (e.g., Marketing Team). |
urlString |
required | The web address for accessing the site, typically in the format https://<organization>.sharepoint.com/sites/<site-name>. |
languageCodeInteger |
optional | The language of the site as an ISO language code (e.g., 1033 for English, 1036 for French). If omitted, the organisation's default language is used. |
descriptionString |
optional | A brief summary explaining the site's purpose or content. |
templateIdString |
optional | Identifies the template used to create the site, determining its structure and features (e.g., STS#0 for a Team Site). |
designIdString |
optional | A unique identifier for the site's design, referring to a site design or customization for layout, branding, or functionality. |
adminsList<String> |
optional | Usernames or identifiers to grant administrative access to the site. |
Constructors
global CreateSharePointSiteInput(String name, String url)
global CreateSharePointSiteInput( String name, String url, Integer languageCode, String description, String templateId, String designId )
Example
global class CreateSharePointSiteInput { public String name; public String url; public Integer languageCode; public String description; public String templateId; public String designId; global CreateSharePointSiteInput(String name, String url) { this.name = name; this.url = url; } }