Newer Version Available

This content describes an older version of this product. View Latest

Community Input

Create an Experience Cloud site.
Root XML tag
<community>
JSON example
1{
2   "name":"The Capricorn Cafe",
3   "urlPathPrefix":"capricorncafe",
4   "templateName":"Customer Service",
5   "description":"Coffee and coffee products for the most discerning tastes."
6}
Properties
Name Type Description Required or Optional Available Version
description String Description of the site. Optional 46.0
name String Name of the site. Required 46.0
templateName String Name of the Experience Builder template for the site.

Use the Communities Templates resource to get a list of available templates and their names.

Required 46.0
urlPathPrefix String URL prefix for the site. For example, in the site URL SitesSubdomainName.force.com/customers, customers is the UrlPathPrefix. Required if you already have a site that doesn’t have a urlPathPrefix 46.0