| active |
boolean |
Required. Determines whether the site is active. |
| allowHomePage |
boolean |
Required. Determines whether the standard home page is visible to public users.
This is a new field in API version 15.0. |
| allowStandardAnswersPages |
boolean |
Determines whether the standard answer pages are visible to public users. This
is a new field in API version 19.0. |
| allowStandardIdeasPages |
boolean |
Required. Determines whether the standard Ideas pages are visible to public
users. This is a new field in API version 15.0. |
| allowStandardLookups |
boolean |
Required. Determines whether the standard lookup pages are visible to public
users. This is a new field in API version 15.0. |
| allowStandardPortalPages |
boolean |
Required. When enabled, authenticated
users in this site can access standard Salesforce pages as allowed by their access
controls. When disabled, authenticated users in this site can't access standard
Salesforce pages, even if their access controls allow it. If your site serves only
Visualforce pages, disabling this setting helps add a layer of access protection
to your site. This is a new field in API version 39.0. |
| allowStandardSearch |
boolean |
Required. Determines whether the standard search pages are visible to public
users. This is a new field in API version 15.0. |
| analyticsTrackingCode |
string |
The tracking code associated with your site. Services such as Google Analytics
can use this code to track page request data for your site. This field is available
in API version 17.0 and later. |
| authorizationRequiredPage |
string |
The name of the Visualforce page to be displayed when the guest user tries to
access a page for which they are not authorized. |
| bandwidthExceededPage |
string |
The name of the Visualforce page to be displayed when the site has exceeded its
bandwidth quota. |
| browserXssProtection |
boolean |
Required. Determines whether protection against reflected cross-site scripting
attacks is enabled. If a reflected cross-site scripting attack is detected, the
browser shows a blank page with no content. Available in API version 41.0 and
later. |
| changePasswordPage |
string |
The name of the Visualforce page to be displayed when the portal user attempts
to change their password for either the portal or for Chatter Answers, when enabled.
|
| chatterAnswersForgotPasswordConfirmPage |
string |
The name of the Visualforce page to be
displayed that informs the user that an email has been sent to them with a
temporary password. This field is available if Chatter Answers is enabled for your
organization. This field is available in API version 27.0 and later. |
| chatterAnswersForgotPasswordPage |
string |
The name of the Visualforce page to be
displayed when a user clicks the link to retrieve a forgotten password. This field
is available if Chatter Answers is enabled for your organization. This field
is available in API version 27.0 and later. |
| chatterAnswersHelpPage |
string |
The name of the Visualforce page to be displayed when the
user clicks the help link. This field is available if Chatter Answers is enabled
for your organization. This field is available in API version 27.0 and
later. |
| chatterAnswersLoginPage |
string |
The name of the Visualforce page to be displayed to
allow users to log in to the portal. This field is available if Chatter Answers is
enabled for your organization. This field is available in API version 27.0
and later. |
| chatterAnswersRegistrationPage |
string |
The name of the Visualforce page to be displayed
to allow users to register themselves and access the portal. This field is
available in API version 27.0 and later. |
| clickjackProtectionLevel |
SiteClickjackProtectionLevel (enumeration of type string) |
Required. Sets the clickjack protection level.
The options are:
-
AllowAllFraming — Allow framing by
any page (no protection)
-
External — Allow framing of site
or community pages on external domains (good protection)
-
SameOriginOnly — Allow framing by
the same origin only (recommended)
-
NoFraming — Don’t allow
framing by any page (most protection)
This field is available in API version 30.0 and later. |
| contentSniffingProtection |
boolean |
Required. Determines whether the browser is prevented from inferring the MIME
type from the document content. If enabled, it also prevents the browser from
executing some malicious files (JavaScript, Stylesheet) as dynamic content. This
field is available in API version 41.0 and later. |
| cspUpgradeInsecureRequests |
boolean |
Required. Determines whether HTTP requests, including third-party domains, are
upgraded to HTTPS. This field is available in API version 41.0 and later. |
| customWebAddresses |
SiteWebAddress[] |
The root custom URLs associated with the site. Saving or deploying a CustomSite
replaces all root custom URLs in the site with the root custom URLs in this list.
Custom URLs that use a non-root path prefix are not included in this list and are
not affected when saving or deploying a CustomSite. This field is available in API
version 21.0 and later. |
| description |
string |
The site description. |
| enableAuraRequests |
boolean |
Determines whether guest users can view features available only in Lightning
(true). If set to false, Lightning features don’t load. This field is available in API
version 46.0 and later. |
| favoriteIcon |
string |
The name of the file to be used for the icon
that appears in the browser's address field when visiting the site. Sets the
favorite icon for the entire site. |
| fileNotFoundPage |
string |
The name of the Visualforce page to be displayed when the guest user tries to
access a non-existent page. |
| forgotPasswordPage |
string |
The name of the Visualforce page to be
displayed when a user clicks the Forgot Password link on the site’s login page.
This field is only applicable for Communities sites. |
| genericErrorPage |
string |
The name of the Visualforce page to be displayed for errors not otherwise
specified. |
| guestProfile |
string |
Read only. The name of the profile associated with the guest user. |
| inMaintenancePage |
string |
The name of the Visualforce page to be displayed when the site is down for
maintenance. |
| inactiveIndexPage |
string |
The name of the Visualforce page set as the inactive site home page. |
| indexPage |
string |
Required. The name of the Visualforce page set as
the active site home page. |
| masterLabel |
string |
Required. The name of the site label in the Salesforce user interface. |
| portal |
string |
The name of the portal associated with this site for login access. |
| referrerPolicyOriginWhenCrossOrigin |
boolean |
Required. Determines whether the referrer header shows only Salesforce.com
rather than the entire URL when loading a page. This feature eliminates the
potential for a referrer header to reveal sensitive information that could be
present in a full URL, such as an org ID. This field is available in API version
41.0 and later. |
| requireHttps |
boolean |
Required. Determines whether the site requires
secure connections (true) or not (false). When false, the site operates normally
via insecure connections instead of redirecting to a secure
connection.
|
| requireInsecurePortalAccess |
boolean |
Required. Determines whether to override your organization's security settings
and exclusively use HTTP when logging in to the associated portal from your site.
Removed in API version 50.0 and later. |
| robotsTxtPage |
string |
The name of the Visualforce page to be displayed for the
robots.txt file used by web crawlers. |
| selfRegPage |
string |
Visualforce page used for self registration. |
| serverIsDown |
string |
The name of the static resource to be displayed from
the cache server when Salesforce servers are down. The static resource must
be a public zip file 1 MB or smaller and must contain a page named
maintenance.html at the root level of the zip file. Other
resources in the zip file, such as images or CSS files, can follow any directory
structure. This field is available in API version 17.0 and
later. |
| siteAdmin |
string |
The username of the site administrator. |
| siteIframeWhiteListUrls |
SiteIframeWhiteListUrl[] |
The list of external domains that you allow to frame your Salesforce site. This
field is available in API 49.0 and later. |
| siteRedirectMappings |
SiteRedirectMapping[] |
An array of all URL redirect rules set for
your site. This field is available in API version 20.0 and later. |
| siteTemplate |
string |
The name of the Visualforce page to be used as the site template. |
| siteType |
siteType |
Required. Identifies whether the site is a
Visualforce (Salesforce Sites), Site.com site, or ChatterNetwork (Salesforce
Sites).This is a new field in API version 27.0. |
| subdomain |
string |
Required. Read only. The custom subdomain prefix for the site. For example, if
your site URL is
SitesSubdomainName.secure.force.com/partners,
SitesSubdomainName is the
subdomain. |
| urlPathPrefix |
string |
The first part of the path on the site's URL that distinguishes this site from
other sites. For example, if your site URL is
SitesSubdomainName.secure.force.com/partners,
partners is the urlPathPrefix. |