ApexPage
Represents a single Visualforce page.
Introduced in API version 10.0.
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), update(), upsert()
- Type: double
- Properties: Create, Filter, Sort, Update
- Description: The API version for this page. Every page has an API version specified at creation. If the API version is less than 15.0 and
ApiVersionis not specified,ApiVersiondefaults to 15.0.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The identifier for the controller associated with this page:
- If the
ControllerTypeparameter is set toStandardorStandardSet, this value is the name of the sObject that defines the controller. - If the
ControllerTypeparameter is set toCustom, this value is the name of the Apex class that defines the controller.
- If the
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: The type of controller associated with this Visualforce page. Possible values include:
- Possible values:
- Not Specified — Not Specified
- Standard — Standard
- StandardSet — StandardSet
- Custom — Custom
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Description of the Visualforce page.
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 27.0
-
Description:
Indicates if Visualforce tabs associated with the Visualforce page can be used in the Salesforce mobile app (
true) or not (false). (Use of this field for Salesforce Touch is deprecated.) This field is available in API version 27.0 and later.Standard object tabs that are overridden with a Visualforce page aren’t supported in the Salesforce mobile app, even if you set this field for the page. The default Salesforce app page for the object is displayed instead of the Visualforce page.
-
Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 28.0
-
Description:
Indicates whether
GETrequests for the page require a CSRF confirmation token (true) or not (false).If you change this field’s value from
falsetotrue, links to the page require a CSRF token to be added to them, or the page will be inaccessible. -
Default value: false
- Type: textarea
- Properties: Create, Update
- Description: The Visualforce markup, HTML, Javascript, and any other Web-enabled code that defines the content of the page.
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: The text used to identify the Visualforce page in the Setup area of Salesforce. The Label is Label.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Required. Name of this Visualforce page.
-
Type: string
-
Properties: Filter, Group, Nillable, Sort
-
Description:
The namespace prefix that is associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the
namespacePrefix__componentNamenotation.The namespace prefix can have one of the following values.
- In Developer Edition orgs,
NamespacePrefixis set to the namespace prefix of the org for all objects that support it, unless an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition org of the package developer. - In orgs that are not Developer Edition orgs,
NamespacePrefixis set only for objects that are part of an installed managed package. All other objects have no namespace prefix.
- In Developer Edition orgs,
Use Visualforce pages to add custom content that extends the base Salesforce application functionality. All users in Visualforce-enabled organizations can view Visualforce pages, but the “Customize Application” permission is required to create or update them.