Site

Represents a public website that is integrated with an Organization. This object is generally available in API version 18.0 and later. To access this object, Force.comSites or Site.com must be enabled for your organization.

Supported Calls

describeSObjects(), query(), retrieve()

Special Access Rules

Fields

Field Description
AdminId
Type
reference
Properties
Filter, Group, Sort
Description
The site administrator designated as the contact for the site. This user receives site-related communications from site visitors and from salesforce.com.
AnalyticsTrackingCode
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The tracking code associated with your site. This code can be used by services like Google Analytics to track page request data for your site.
DailyBandwidthLimit
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The rolling 24-hour daily bandwidth limit for the sites in your organization.
DailyBandwidthUsed
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The current rolling 24-hour daily bandwidth usage for the sites in your organization.
DailyRequestTimeLimit
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The rolling 24-hour daily service request time limit for the sites in your organization. Service request time is calculated as the total server time in minutes required to generate pages for the site.
DailyRequestTimeUsed
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The current rolling 24-hour daily service request time for the sites in your organization.
Description
Type
textarea
Properties
Filter, Nillable, Sort
Description
An optional description of the site.
MasterLabel
Type
string
Properties
Filter, Group, Sort
Description
The name of the site as it appears in the user interface.
MonthlyPageViewsEntitlement
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The number of page views allowed for the current calendar month for the sites in your organization.
Name
Type
string
Properties
Filter, Group, Sort
Description
The name used when referencing the site in the API.
OptionsAllowHomePage
Type
boolean
Properties
Filter
Description
The option to enable the standard page associated with the Home tab (/home/home.jsp).
OptionsAllowStandardAnswersPages
Type
boolean
Properties
Filter
Description
The option to enable standard pages associated with an answers community. If you want to use default Answers pages (such as AnswersHome), enable these pages.
OptionsAllowStandardIdeasPages
Type
boolean
Properties
Filter
Description
The option to enable standard pages associated with an Ideas community. If you want to use default Ideas pages (such as IdeasHome), enable these pages.
OptionsAllowStandardLookups
Type
boolean
Properties
Filter
Description
The option to enable the standard lookup pages. These are the popup windows associated with lookup fields on Visualforce pages.
OptionsAllowStandardSearch
Type
boolean
Properties
Filter
Description
The option to enable the standard search pages. To allow public users to perform standard searches, enable these pages.
OptionsEnableFeeds
Type
boolean
Properties
Filter
Description
The option that displays the Syndication Feeds related list, where you can create and manage syndication feeds for users on your public sites. This field is visible only if you have the feature enabled for your organization.
SiteType
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
Identifies whether the site is a Visualforce (Force.com Sites) or a Site.com site. SiteType is available in API version 21.0 and later.
Status
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The status for the site. For example, Active or ActiveIn Maintenance.
Subdomain
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The Force.com domain that you registered for your site. For example, if your Force.com domain is mycompany.force.com, then mycompany is the subdomain.
TopLevelDomain
Type
url
Properties
Filter, Nillable
Description
The optional branded custom Web address that you registered with a third-party domain name registrar. The custom Web address acts as an alias to your Force.com address.

Beginning with API version 21.0, TopLevelDomain is no longer available. Instead, use the SiteDomain object.

UrlPathPrefix
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The unique Force.com URL that the public uses to access this site.

Usage

Use this read-only object to query or retrieve information on your Force.com site.

© Copyright 2000–2012 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.